Add test-case for btst CCS flags updates.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4005 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
edgar_igl 2008-03-01 18:50:54 +00:00
parent bbaf29c769
commit bebb39d461
1 changed files with 8 additions and 0 deletions

View File

@ -84,4 +84,12 @@
move.d 0x1111,r3
checkr3 1111
; check that X gets cleared and that only the NZ flags are touched.
move.d 0xff, $r0
move $r0, $ccs
btst r3,r3
move $ccs, $r0
cmp.d 0xe3, $r0
test_cc 0 1 0 0
quit