Home
last modified time | relevance | path

Searched refs:sethi (Results 1 – 25 of 61) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SPARC/
Dfloat-constants.ll10 ; TODO-CHECK: sethi 1049856, %o0
11 ; TODO-CHECK: sethi 0, %o1
21 ; TODO-CHECK: sethi 1049856, %o0
22 ; TODO-CHECK: sethi 0, %o1
35 ; TODO-CHECK: sethi 1049856, %o0
36 ; TODO-CHECK: sethi 0, %o1
Dblockaddr.ll19 ; abs32: sethi %hi([[BLK:.+]]), [[R:%[gilo][0-7]]]
25 ; abs44: sethi %h44([[BLK:.+]]), [[R:%[gilo][0-7]]]
33 ; abs64: sethi %hi([[BLK:.+]]), [[R:%[gilo][0-7]]]
35 ; abs64: sethi %hh([[BLK]]), [[R2:%[gilo][0-7]]]
44 ; v8pic32: sethi %hi(_GLOBAL_OFFSET_TABLE_+{{.+}}), [[R:%[gilo][0-7]]]
47 ; v8pic32: sethi %hi([[BLK:.+]]), [[R3:%[gilo][0-7]]]
55 ; v9pic32: sethi %hi(_GLOBAL_OFFSET_TABLE_+{{.+}}), [[R:%[gilo][0-7]]]
58 ; v9pic32: sethi %hi([[BLK:.+]]), [[R3:%[gilo][0-7]]]
Dfunc-addr.ll22 ; abs32: sethi %hi(func1), %i0
27 ; abs44: sethi %h44(func1), %i0
34 ; abs64: sethi %hi(func1), %i0
36 ; abs64: sethi %hh(func1), %i1
40 ; v8pic32: sethi %hi(func1), %i1
45 ; v9pic32: sethi %hi(func1), %i1
Dglobals.ll16 ; abs32: sethi %hi(G), %[[R:[gilo][0-7]]]
22 ; abs44: sethi %h44(G), %[[R1:[gilo][0-7]]]
30 ; abs64: sethi %hi(G), %[[R1:[gilo][0-7]]]
32 ; abs64: sethi %hh(G), %[[R3:[gilo][0-7]]]
41 ; v8pic32: sethi %hi(G), %[[R1:[gilo][0-7]]]
51 ; v9pic32: sethi %hi(G), %[[R1:[gilo][0-7]]]
Dconstpool.ll14 ; abs32: sethi %hi(.LCPI0_0), %[[R:[gilo][0-7]]]
20 ; abs44: sethi %h44(.LCPI0_0), %[[R1:[gilo][0-7]]]
28 ; abs64: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]]
30 ; abs64: sethi %hh(.LCPI0_0), %[[R3:[gilo][0-7]]]
39 ; v8pic32: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]]
50 ; v9pic32: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]]
D64bit.ll62 ; CHECK: sethi 4, %i0
68 ; OPT: sethi 4, %o0
74 ; CHECK: sethi 4, [[R:%[goli][0-7]]]
78 ; OPT: sethi 4, [[R:%[go][0-7]]]
87 ; CHECK: sethi 4, [[R:%[goli][0-7]]]
91 ; OPT: sethi 4, [[R:%[go][0-7]]]
100 ; CHECK: sethi
101 ; CHECK: sethi
107 ; CHECK: sethi 1048576
Dtls.ll15 ; v8abs: sethi %tle_hix22(local_symbol), [[R0:%[goli][0-7]]]
20 ; v9abs: sethi %tle_hix22(local_symbol), [[R0:%[goli][0-7]]]
27 ; pic-DAG: sethi %tldm_hi22(local_symbol), [[R0:%[goli][0-7]]]
31 ; pic-DAG: sethi %tldo_hix22(local_symbol), [[R2:%[goli][0-7]]]
46 ; v8abs: sethi %tie_hi22(extern_symbol), [[R1:%[goli][0-7]]]
54 ; v9abs: sethi %tie_hi22(extern_symbol), [[R1:%[goli][0-7]]]
63 ; pic: sethi %tgd_hi22(extern_symbol), [[R0:%[goli][0-7]]]
D2011-01-19-DelaySlot.ll60 ;CHECK: sethi
64 tail call void asm sideeffect "sethi 0, %g0", ""() nounwind
156 ;CHECK-NOT: sethi 3
167 ;CHECK: sethi 6
178 ;CHECK: sethi 4000, %i0
/external/llvm/test/CodeGen/SPARC/
Dfloat-constants.ll10 ; TODO-CHECK: sethi 1049856, %o0
11 ; TODO-CHECK: sethi 0, %o1
21 ; TODO-CHECK: sethi 1049856, %o0
22 ; TODO-CHECK: sethi 0, %o1
35 ; TODO-CHECK: sethi 1049856, %o0
36 ; TODO-CHECK: sethi 0, %o1
Dblockaddr.ll19 ; abs32: sethi %hi([[BLK:.+]]), [[R:%[gilo][0-7]]]
25 ; abs44: sethi %h44([[BLK:.+]]), [[R:%[gilo][0-7]]]
33 ; abs64: sethi %hi([[BLK:.+]]), [[R:%[gilo][0-7]]]
35 ; abs64: sethi %hh([[BLK]]), [[R2:%[gilo][0-7]]]
44 ; v8pic32: sethi %hi(_GLOBAL_OFFSET_TABLE_+{{.+}}), [[R:%[gilo][0-7]]]
47 ; v8pic32: sethi %hi([[BLK:.+]]), [[R3:%[gilo][0-7]]]
55 ; v9pic32: sethi %hi(_GLOBAL_OFFSET_TABLE_+{{.+}}), [[R:%[gilo][0-7]]]
58 ; v9pic32: sethi %hi([[BLK:.+]]), [[R3:%[gilo][0-7]]]
Dglobals.ll16 ; abs32: sethi %hi(G), %[[R:[gilo][0-7]]]
22 ; abs44: sethi %h44(G), %[[R1:[gilo][0-7]]]
30 ; abs64: sethi %hi(G), %[[R1:[gilo][0-7]]]
32 ; abs64: sethi %hh(G), %[[R3:[gilo][0-7]]]
41 ; v8pic32: sethi %hi(G), %[[R1:[gilo][0-7]]]
51 ; v9pic32: sethi %hi(G), %[[R1:[gilo][0-7]]]
Dconstpool.ll14 ; abs32: sethi %hi(.LCPI0_0), %[[R:[gilo][0-7]]]
20 ; abs44: sethi %h44(.LCPI0_0), %[[R1:[gilo][0-7]]]
28 ; abs64: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]]
30 ; abs64: sethi %hh(.LCPI0_0), %[[R3:[gilo][0-7]]]
39 ; v8pic32: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]]
50 ; v9pic32: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]]
Dfunc-addr.ll22 ; abs32: sethi %hi(func1), %i0
27 ; abs44: sethi %h44(func1), %i0
34 ; abs64: sethi %hi(func1), %i0
36 ; abs64: sethi %hh(func1), %i1
40 ; v8pic32: sethi %hi(func1), %i1
45 ; v9pic32: sethi %hi(func1), %i1
Dtls.ll15 ; v8abs: sethi %tle_hix22(local_symbol), [[R0:%[goli][0-7]]]
20 ; v9abs: sethi %tle_hix22(local_symbol), [[R0:%[goli][0-7]]]
27 ; pic-DAG: sethi %tldm_hi22(local_symbol), [[R0:%[goli][0-7]]]
31 ; pic-DAG: sethi %tldo_hix22(local_symbol), [[R2:%[goli][0-7]]]
46 ; v8abs: sethi %tie_hi22(extern_symbol), [[R1:%[goli][0-7]]]
54 ; v9abs: sethi %tie_hi22(extern_symbol), [[R1:%[goli][0-7]]]
63 ; pic: sethi %tgd_hi22(extern_symbol), [[R0:%[goli][0-7]]]
D64bit.ll62 ; CHECK: sethi 4, %i0
68 ; OPT: sethi 4, %o0
74 ; CHECK: sethi 4, [[R:%[goli][0-7]]]
78 ; OPT: sethi 4, [[R:%[go][0-7]]]
87 ; CHECK: sethi 4, [[R:%[goli][0-7]]]
91 ; OPT: sethi 4, [[R:%[go][0-7]]]
100 ; CHECK: sethi
101 ; CHECK: sethi
107 ; CHECK: sethi 1048576
D2011-01-19-DelaySlot.ll59 ;CHECK: sethi
64 tail call void asm sideeffect "sethi 0, %g0", ""() nounwind
156 ;CHECK-NOT: sethi 3
167 ;CHECK: sethi 6
178 ;CHECK: sethi 4000, %i0
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/
Dsparc-tls-relocations.s30 ! OBJDUMP: {{[0-9,a-f]+}}: 31 00 00 00 sethi 0, %i0
32 ! ASM: sethi %tle_hix22(Head), %i0 ! encoding: [0x31,0x00,0x00,0x00]
34 sethi %tle_hix22(Head), %i0
46 ! OBJDUMP: {{[0-9,a-f]+}}: 33 00 00 00 sethi 0, %i1
48 ! ASM: sethi %tldo_hix22(Head), %i1 ! encoding: [0x33,0b00AAAAAA,A,A]
50 sethi %tldo_hix22(Head), %i1
52 ! OBJDUMP: {{[0-9,a-f]+}}: 35 00 00 00 sethi 0, %i2
54 ! ASM: sethi %tldm_hi22(Head), %i2 ! encoding: [0x35,0b00AAAAAA,A,A]
56 sethi %tldm_hi22(Head), %i2
Dsparc-relocations.s25 ! CHECK: sethi %hi(sym), %l0 ! encoding: [0x21,0b00AAAAAA,A,A]
27 sethi %hi(sym), %l0
29 ! CHECK: sethi %h44(sym), %l0 ! encoding: [0x21,0b00AAAAAA,A,A]
31 sethi %h44(sym), %l0
41 ! CHECK: sethi %hh(sym), %l0 ! encoding: [0x21,0b00AAAAAA,A,A]
43 sethi %hh(sym), %l0
Dsparc-synthetic-instructions.s25 ! CHECK: sethi %hi(40000), %g1 ! encoding: [0x03,0b00AAAAAA,A,A]
32 ! CHECK: sethi %hi(32768), %g1 ! encoding: [0x03,0b00AAAAAA,A,A]
37 ! CHECK: sethi %hi(268431360), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
41 ! CHECK: sethi %hi(268433408), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
45 ! This is the boundary case that uses the lowest of the 22 bits in sethi.
46 ! CHECK: sethi %hi(268434432), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
51 ! CHECK: sethi %hi(2147483647), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
174 ! V9: sethi %hi(-1), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
181 ! V9: sethi %hi(-2), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
188 ! V9: sethi %hi(-16), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
[all …]
Dsparc-pic.s55 sethi %hi(_GLOBAL_OFFSET_TABLE_+(.Ltmp6-.Ltmp4)), %i1
60 sethi %hi(AGlobalVar), %i2
65 sethi %hi(.LC0), %i2
94 sethi %hi(_GLOBAL_OFFSET_TABLE_+(.Ltmp2-.Ltmp0)), %i0
/external/llvm/test/MC/Sparc/
Dsparc-relocations.s24 ! CHECK: sethi %hi(sym), %l0 ! encoding: [0x21,0b00AAAAAA,A,A]
26 sethi %hi(sym), %l0
28 ! CHECK: sethi %h44(sym), %l0 ! encoding: [0x21,0b00AAAAAA,A,A]
30 sethi %h44(sym), %l0
40 ! CHECK: sethi %hh(sym), %l0 ! encoding: [0x21,0b00AAAAAA,A,A]
42 sethi %hh(sym), %l0
Dsparc-synthetic-instructions.s25 ! CHECK: sethi %hi(40000), %g1 ! encoding: [0x03,0b00AAAAAA,A,A]
32 ! CHECK: sethi %hi(32768), %g1 ! encoding: [0x03,0b00AAAAAA,A,A]
37 ! CHECK: sethi %hi(268431360), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
41 ! CHECK: sethi %hi(268433408), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
45 ! This is the boundary case that uses the lowest of the 22 bits in sethi.
46 ! CHECK: sethi %hi(268434432), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
51 ! CHECK: sethi %hi(2147483647), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
174 ! V9: sethi %hi(-1), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
181 ! V9: sethi %hi(-2), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
188 ! V9: sethi %hi(-16), %o1 ! encoding: [0x13,0b00AAAAAA,A,A]
[all …]
Dsparc-pic.s53 sethi %hi(_GLOBAL_OFFSET_TABLE_+(.Ltmp6-.Ltmp4)), %i1
58 sethi %hi(AGlobalVar), %i2
63 sethi %hi(.LC0), %i2
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcInstr64Bit.td57 // All 32-bit immediates can be materialized with sethi+or, but 64-bit
73 // All unsigned i32 immediates can be handled by sethi+or.
78 // All negative i33 immediates can be handled by sethi+xor.
98 // (sllx sethi, n)
103 // (xor (sllx sethi), simm13)
104 // (sllx (xor sethi, simm13))
108 // (or sethi, (sllx sethi))
109 // (xnor sethi, (sllx sethi))
113 // (or (sllx sethi), (or sethi, simm13))
114 // (xnor (sllx sethi), (or sethi, simm13))
[all …]
/external/llvm/lib/Target/Sparc/
DSparcInstr64Bit.td57 // All 32-bit immediates can be materialized with sethi+or, but 64-bit
73 // All unsigned i32 immediates can be handled by sethi+or.
78 // All negative i33 immediates can be handled by sethi+xor.
98 // (sllx sethi, n)
103 // (xor (sllx sethi), simm13)
104 // (sllx (xor sethi, simm13))
108 // (or sethi, (sllx sethi))
109 // (xnor sethi, (sllx sethi))
113 // (or (sllx sethi), (or sethi, simm13))
114 // (xnor (sllx sethi), (or sethi, simm13))
[all …]

123