2 # RUN: llvm-mc -filetype=obj -triple=sparcv9 %s -o %t.o
3 # RUN: ld.lld %t.o -o %t
4 # RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck --check-prefix=LE %s
6 ## %hix(@tpoff(a)) = ~(st_value(a) - 1026) >> 10 = 1
7 ## %lo(@tpoff(a)) = (st_value(a) - 1026) & 0x3ff | 0x1c00 = -2 (0x1ffe)
9 # LE-NEXT: xor %o0, -2, %o0
10 sethi
%tle_hix22
(a), %o0
11 xor %o0
, %tle_lox10
(a), %o0