diff options
Diffstat (limited to 'sim/testsuite/m32r/and3.cgs')
-rw-r--r-- | sim/testsuite/m32r/and3.cgs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sim/testsuite/m32r/and3.cgs b/sim/testsuite/m32r/and3.cgs new file mode 100644 index 00000000000..395de3028e9 --- /dev/null +++ b/sim/testsuite/m32r/and3.cgs @@ -0,0 +1,17 @@ +# m32r testcase for and3 $dr,$sr,#$uimm16 +# mach(): m32r m32rx + + .include "testutils.inc" + + start + + .global and3 +and3: + mvi_h_gr r4, 0 + mvi_h_gr r5, 6 + + and3 r4, r5, #3 + + test_h_gr r4, 2 + + pass |