projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This patch enables the Mips .set directive to define aliases
[oota-llvm.git]
/
test
/
MC
/
Mips
/
mips_directives.s
1
# RUN: llvm-mc -show-encoding -triple mips-unknown-unknown %s | FileCheck %s
2
#
3
$BB0_2:
4
.ent directives_test
5
.frame $sp,0,$ra
6
.mask 0x00000000,0
7
.fmask 0x00000000,0
8
.set noreorder
9
.set nomacro
10
.set noat
11
$JTI0_0:
12
.gpword ($BB0_2)
13
.word 0x77fffffc
14
# CHECK: $JTI0_0:
15
# CHECK-NEXT: .4byte 2013265916
16
.set at=$12
17
.set macro
18
.set reorder
19
.set at=$a0
20
.set STORE_MASK,$t7
21
.set FPU_MASK,$f7
22
#CHECK: abs.s $f6, $f7 # encoding: [0x46,0x00,0x39,0x85]
23
#CHECK: and $3, $15, $15 # encoding: [0x01,0xef,0x18,0x24]
24
abs.s $f6,FPU_MASK
25
and $3,$t7,STORE_MASK