/external/llvm-project/lld/test/ELF/ |
D | sparcv9-reloc.s | 9 # CHECK: sethi 18641, %o0 12 sethi %hh(a), %o0 17 # CHECK: sethi 18641, %o0 21 sethi %h44(b), %o0 28 # CHECK: sethi 18641, %o0 31 sethi %hi(c), %o0
|
D | sparcv9-tls-le.s | 8 # LE: sethi 1, %o0 10 sethi %tle_hix22(a), %o0 label
|
/external/llvm/test/CodeGen/SPARC/ |
D | float-constants.ll | 10 ; 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
|
D | blockaddr.ll | 19 ; 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]]]
|
D | globals.ll | 16 ; 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]]]
|
D | func-addr.ll | 22 ; 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
|
D | constpool.ll | 14 ; 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]]]
|
D | tls.ll | 15 ; 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]]]
|
D | 64bit.ll | 62 ; 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
|
/external/llvm-project/llvm/test/MC/Sparc/ |
D | sparc-tls-relocations.s | 31 ! OBJDUMP: {{[0-9,a-f]+}}: 31 00 00 00 sethi 0, %i0 33 ! ASM: sethi %tle_hix22(Local), %i0 ! encoding: [0x31,0x00,0x00,0x00] 35 sethi %tle_hix22(Local), %i0 48 ! OBJDUMP: {{[0-9,a-f]+}}: 33 00 00 00 sethi 0, %i1 50 ! ASM: sethi %tldo_hix22(Local), %i1 ! encoding: [0x33,0b00AAAAAA,A,A] 52 sethi %tldo_hix22(Local), %i1 54 ! OBJDUMP: {{[0-9,a-f]+}}: 35 00 00 00 sethi 0, %i2 56 ! ASM: sethi %tldm_hi22(Local), %i2 ! encoding: [0x35,0b00AAAAAA,A,A] 58 sethi %tldm_hi22(Local), %i2 95 ! OBJDUMP: {{[0-9,a-f]+}}: 33 00 00 00 sethi 0, %i1 [all …]
|
D | sparc-relocations.s | 25 ! 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
|
D | sparc-synthetic-instructions.s | 25 ! 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 …]
|
/external/llvm-project/llvm/test/CodeGen/SPARC/ |
D | float-constants.ll | 8 ; CHECK: sethi 1049856, %o0 11 ; CHECK-LE: sethi 1049856, %o1 21 ; CHECK: sethi 1049856, %o0 24 ; CHECK-LE: sethi 1049856, %o1 37 ; CHECK: sethi 1048576, %o0 42 ; CHECK-LE: sethi 1048576, %o1
|
D | blockaddr.ll | 19 ; 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]]]
|
D | globals.ll | 16 ; 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]]]
|
D | func-addr.ll | 22 ; 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
|
D | constpool.ll | 14 ; 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]]]
|
D | sethiandn.ll | 7 ; SPARC-NEXT: sethi 4194272, %o1 18 ; SPARC-NEXT: sethi 4194272, %o1 31 ; SPARC-NEXT: sethi 31, %o1
|
D | 64bit.ll | 62 ; 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
|
D | tls.ll | 15 ; 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]]]
|
/external/llvm/test/MC/Sparc/ |
D | sparc-relocations.s | 24 ! 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
|
D | sparc-synthetic-instructions.s | 25 ! 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 …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcInstr64Bit.td | 57 // 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcInstr64Bit.td | 56 // All 32-bit immediates can be materialized with sethi+or, but 64-bit 72 // All unsigned i32 immediates can be handled by sethi+or. 77 // All negative i33 immediates can be handled by sethi+xor. 97 // (sllx sethi, n) 102 // (xor (sllx sethi), simm13) 103 // (sllx (xor sethi, simm13)) 107 // (or sethi, (sllx sethi)) 108 // (xnor sethi, (sllx sethi)) 112 // (or (sllx sethi), (or sethi, simm13)) 113 // (xnor (sllx sethi), (or sethi, simm13)) [all …]
|
/external/llvm-project/llvm/lib/Target/Sparc/ |
D | SparcInstr64Bit.td | 56 // All 32-bit immediates can be materialized with sethi+or, but 64-bit 72 // All unsigned i32 immediates can be handled by sethi+or. 77 // All negative i33 immediates can be handled by sethi+xor. 97 // (sllx sethi, n) 102 // (xor (sllx sethi), simm13) 103 // (sllx (xor sethi, simm13)) 107 // (or sethi, (sllx sethi)) 108 // (xnor sethi, (sllx sethi)) 112 // (or (sllx sethi), (or sethi, simm13)) 113 // (xnor (sllx sethi), (or sethi, simm13)) [all …]
|