x86-64: fix handling of PUSH/POP of segment register
[deliverable/binutils-gdb.git] / gas / testsuite / gas / cr16 / lsh_test.s
CommitLineData
3d3d428f
NC
1 .text
2 .global main
3main:
4 ###########################
5 # LSHB cnt(right -), reg
6 ###########################
7 lshb $7,r1
8 lshb $-7,r1
9 lshb $4,r1
10 lshb $-4,r1
11 lshb $-8,r1
12 lshb $3,r1
13 lshb $-3,r1
14 ###########################
15 # LSHB reg, reg
16 ###########################
17 lshb r2,r1
18 lshb r3,r4
19 lshb r5,r6
20 lshb r8,r10
21 ###########################
22 # LSHW cnt (right -), reg
23 ###########################
24 lshw $7,r1
25 lshw $-7,r1
26 lshw $4,r1
27 lshw $-4,r1
28 lshw $8,r1
29 lshw $-8,r1
30 lshw $3,r1
31 lshw $-3,r1
32 ##########################
33 # LSHW reg, reg
34 ##########################
35 lshw r2,r1
36 lshw r3,r4
37 lshw r5,r6
38 lshw r8,r10
39 ###########################
40 # LSHD cnt (right -), regp
41 ############################
42 lshd $7, (r3,r2)
43 lshd $-7, (r3,r2)
44 lshd $8, (r3,r2)
45 lshd $-8, (r3,r2)
46 lshd $4, (r3,r2)
47 lshd $-4, (r3,r2)
48 lshd $12,(r3,r2)
49 lshd $-12,(r3,r2)
50 lshd $3,(r2,r1)
51 lshd $-3,(r2,r1)
52 #################
53 # LSHD reg, regp
54 #################
55 lshd r4,(r2,r1)
56 lshd r5,(r2,r1)
57 lshd r6,(r2,r1)
58 lshd r8,(r2,r1)
59 lshd r1,(r2,r1)
This page took 1.088979 seconds and 4 git commands to generate.