mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
99e98551bf
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
21 lines
493 B
ArmAsm
21 lines
493 B
ArmAsm
# RUN: llvm-mc -triple mips-unknown-unknown %s | FileCheck %s
|
|
#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
|
|
$JTI0_0:
|
|
.gpword ($BB0_2)
|
|
.word 0x77fffffc
|
|
# CHECK: $JTI0_0:
|
|
# CHECK-NEXT: .4byte 2013265916
|
|
.set at=$12
|
|
.set macro
|
|
.set reorder
|
|
.set at=$a0
|
|
.end directives_test
|