summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/arm/sub.cgs
blob: 50f222c444598c68e68e2010406562f2221b45ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# arm testcase for sub$cond${set-cc?} $rd,$rn,$imm12
# mach: unfinished

	.include "testutils.inc"

	start

	.global sub_imm
sub_imm:
	sub00 pc,pc,0

	pass
# arm testcase for sub$cond${set-cc?} $rd,$rn,$rm,${operand2-shifttype} ${operand2-shiftimm}
# mach: unfinished

	.include "testutils.inc"

	start

	.global sub_reg_imm_shift
sub_reg_imm_shift:
	sub00 pc,pc,pc,lsl 0

	pass
# arm testcase for sub$cond${set-cc?} $rd,$rn,$rm,${operand2-shifttype} ${operand2-shiftreg}
# mach: unfinished

	.include "testutils.inc"

	start

	.global sub_reg_reg_shift
sub_reg_reg_shift:
	sub00 pc,pc,pc,lsl pc

	pass