diff options
Diffstat (limited to 'tests/cris/check_btst.s')
-rw-r--r-- | tests/cris/check_btst.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/cris/check_btst.s b/tests/cris/check_btst.s index 7418177315..1c10cf309f 100644 --- a/tests/cris/check_btst.s +++ b/tests/cris/check_btst.s @@ -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 |