1 .code 2 .align 4 3; Basic immediate instruction tests. 4; 5; We could/should test some of the corner cases for register and 6; immediate fields. We should also check the assorted field 7; selectors to make sure they're handled correctly. 8 sh2add %r4,%r5,%r6 9 sh2add,= %r4,%r5,%r6 10 sh2add,< %r4,%r5,%r6 11 sh2add,<= %r4,%r5,%r6 12 sh2add,nuv %r4,%r5,%r6 13 sh2add,znv %r4,%r5,%r6 14 sh2add,sv %r4,%r5,%r6 15 sh2add,od %r4,%r5,%r6 16 sh2add,tr %r4,%r5,%r6 17 sh2add,<> %r4,%r5,%r6 18 sh2add,>= %r4,%r5,%r6 19 sh2add,> %r4,%r5,%r6 20 sh2add,uv %r4,%r5,%r6 21 sh2add,vnz %r4,%r5,%r6 22 sh2add,nsv %r4,%r5,%r6 23 sh2add,ev %r4,%r5,%r6 24 25 sh2addl %r4,%r5,%r6 26 sh2addl,= %r4,%r5,%r6 27 sh2addl,< %r4,%r5,%r6 28 sh2addl,<= %r4,%r5,%r6 29 sh2addl,nuv %r4,%r5,%r6 30 sh2addl,znv %r4,%r5,%r6 31 sh2addl,sv %r4,%r5,%r6 32 sh2addl,od %r4,%r5,%r6 33 sh2addl,tr %r4,%r5,%r6 34 sh2addl,<> %r4,%r5,%r6 35 sh2addl,>= %r4,%r5,%r6 36 sh2addl,> %r4,%r5,%r6 37 sh2addl,uv %r4,%r5,%r6 38 sh2addl,vnz %r4,%r5,%r6 39 sh2addl,nsv %r4,%r5,%r6 40 sh2addl,ev %r4,%r5,%r6 41 42 sh2addo %r4,%r5,%r6 43 sh2addo,= %r4,%r5,%r6 44 sh2addo,< %r4,%r5,%r6 45 sh2addo,<= %r4,%r5,%r6 46 sh2addo,nuv %r4,%r5,%r6 47 sh2addo,znv %r4,%r5,%r6 48 sh2addo,sv %r4,%r5,%r6 49 sh2addo,od %r4,%r5,%r6 50 sh2addo,tr %r4,%r5,%r6 51 sh2addo,<> %r4,%r5,%r6 52 sh2addo,>= %r4,%r5,%r6 53 sh2addo,> %r4,%r5,%r6 54 sh2addo,uv %r4,%r5,%r6 55 sh2addo,vnz %r4,%r5,%r6 56 sh2addo,nsv %r4,%r5,%r6 57 sh2addo,ev %r4,%r5,%r6 58 59