Browse Source
* gas/hppa/basic/branch2.s: New.
* gas/hppa/basic/media.s: New.
gdb-premipsmulti-2000-06-06-branch
4 changed files with 156 additions and 2 deletions
@ -0,0 +1,41 @@ |
|||
.LEVEL 2.0 |
|||
.SPACE $PRIVATE$ |
|||
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31 |
|||
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82 |
|||
.SPACE $TEXT$ |
|||
.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44 |
|||
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY |
|||
|
|||
.SPACE $TEXT$ |
|||
.SUBSPA $CODE$ |
|||
|
|||
.align 4 |
|||
; More branching instructions than you ever knew what to do with. |
|||
; PA 2.0 versions and new syntax. |
|||
|
|||
; |
|||
; 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. |
|||
|
|||
bb_tests: |
|||
bb,< %r4,%sar,bb_tests |
|||
bb,>= %r4,%sar,bb_tests |
|||
bb,<,n %r4,%cr11,bb_tests |
|||
bb,>=,n %r4,%cr11,bb_tests |
|||
bb,*< %r4,%sar,bb_tests |
|||
bb,*>= %r4,%sar,bb_tests |
|||
bb,*<,n %r4,%cr11,bb_tests |
|||
bb,*>=,n %r4,%cr11,bb_tests |
|||
bb,*< %r4,5,bb_tests |
|||
bb,*>= %r4,5,bb_tests |
|||
bb,*<,n %r4,5,bb_tests |
|||
bb,*>=,n %r4,5,bb_tests |
|||
|
|||
branch_stack: |
|||
clrbts |
|||
popbts 1 |
|||
popbts 499 |
|||
pushnom |
|||
pushbts %r4 |
|||
|
|||
@ -0,0 +1,25 @@ |
|||
.LEVEL 2.0 |
|||
.SPACE $PRIVATE$ |
|||
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31 |
|||
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82 |
|||
.SPACE $TEXT$ |
|||
.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44 |
|||
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY |
|||
|
|||
.SPACE $TEXT$ |
|||
.SUBSPA $CODE$ |
|||
|
|||
.align 4 |
|||
; PA2.0 multimedia (halfword) 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. |
|||
|
|||
havg %r7,%r11,%r12 |
|||
hshladd %r7,1,%r11,%r12 |
|||
hshladd %r7,2,%r11,%r12 |
|||
hshladd %r7,3,%r11,%r12 |
|||
hshradd %r7,1,%r11,%r12 |
|||
hshradd %r7,2,%r11,%r12 |
|||
hshradd %r7,3,%r11,%r12 |
|||
Loading…
Reference in new issue