summaryrefslogtreecommitdiffstats
path: root/binutils-2.17/gas/testsuite/gas/hppa/basic/shift3.s
blob: 0d000386fa7fbbfb83bbe6d88d388dd5e83eebf2 (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
	.LEVEL 2.0
	.code
	.align 4
; PA 2.0 shift right instruction tests.  
;
; We could/should test some of the corner cases for register and 
; immediate fields.  We should also check the assorted field
; selectors to make sure they're handled correctly.
	shrpd,* %r4,%r5,%sar,%r6
	shrpd,*= %r4,%r5,%sar,%r6
	shrpd,*< %r4,%r5,%sar,%r6
	shrpd,*od %r4,%r5,%sar,%r6
	shrpd,*tr %r4,%r5,%cr11,%r6
	shrpd,*<> %r4,%r5,%cr11,%r6
	shrpd,*>= %r4,%r5,%cr11,%r6
	shrpd,*ev %r4,%r5,%cr11,%r6

	shrpd,* %r4,%r5,5,%r6
	shrpd,*= %r4,%r5,5,%r6
	shrpd,*< %r4,%r5,5,%r6
	shrpd,*od %r4,%r5,5,%r6
	shrpd,*tr %r4,%r5,5,%r6
	shrpd,*<> %r4,%r5,5,%r6
	shrpd,*>= %r4,%r5,5,%r6
	shrpd,*ev %r4,%r5,5,%r6