aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips_directives.s
diff options
context:
space:
mode:
authorJack Carter <jcarter@mips.com>2013-02-20 23:11:17 +0000
committerJack Carter <jcarter@mips.com>2013-02-20 23:11:17 +0000
commit99e98551bf8719764f9345ce856118f3f1a9c441 (patch)
treefbb5a2aa4268e18cf3a6d5a4554a56e7884f36e7 /test/MC/Mips/mips_directives.s
parentbeda6ab879e35b6f7d998da980b30e3844d3bbeb (diff)
downloadexternal_llvm-99e98551bf8719764f9345ce856118f3f1a9c441.zip
external_llvm-99e98551bf8719764f9345ce856118f3f1a9c441.tar.gz
external_llvm-99e98551bf8719764f9345ce856118f3f1a9c441.tar.bz2
ELF symbol table field st_other support,
excluding visibility bits. Mips specific standalone assembler directive "set at". This directive changes the general purpose register that the assembler will use when given the symbolic register name $at. This does not include negative testing. That will come in a future patch. A side affect of this patch recognizes the different GPR register names for temporaries between old abi and new abi so a test case for that is included. Contributer: Vladimir Medic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips_directives.s')
-rw-r--r--test/MC/Mips/mips_directives.s27
1 files changed, 14 insertions, 13 deletions
diff --git a/test/MC/Mips/mips_directives.s b/test/MC/Mips/mips_directives.s
index 5026b38..d0a3bea 100644
--- a/test/MC/Mips/mips_directives.s
+++ b/test/MC/Mips/mips_directives.s
@@ -2,18 +2,19 @@
#this test produces no output so there isS no FileCheck call
$BB0_2:
.ent directives_test
- .frame $sp,0,$ra
- .mask 0x00000000,0
- .fmask 0x00000000,0
- .set noreorder
- .set nomacro
- .set noat
+ .frame $sp,0,$ra
+ .mask 0x00000000,0
+ .fmask 0x00000000,0
+ .set noreorder
+ .set nomacro
+ .set noat
$JTI0_0:
- .gpword ($BB0_2)
- .word 0x77fffffc
+ .gpword ($BB0_2)
+ .word 0x77fffffc
# CHECK: $JTI0_0:
-# CHECK-NEXT: .4byte 2013265916
- .set at=$12
- .set macro
- .set reorder
- .end directives_test
+# CHECK-NEXT: .4byte 2013265916
+ .set at=$12
+ .set macro
+ .set reorder
+ .set at=$a0
+ .end directives_test