Files
clang-p2996/llvm/test/MC/Xtensa/threadptr.s
Andrei Safronov 3dc09fbf29 [Xtensa] Implement THREADPTR and DFPAccel Xtensa Options. (#145543)
Implment base support of the TLS functionality using Xtensa THREADPTR
Option. Implement basic functionality of the DFPAccel Option(registers
support).
2025-07-02 17:47:07 +03:00

22 lines
485 B
ArmAsm

# RUN: llvm-mc %s -triple=xtensa -show-encoding --mattr=+threadptr \
# RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
.align 4
LBL0:
# CHECK-INST: rur a3, threadptr
# CHECK: encoding: [0x70,0x3e,0xe3]
rur a3, threadptr
# CHECK-INST: rur a3, threadptr
# CHECK: encoding: [0x70,0x3e,0xe3]
rur a3, 231
# CHECK-INST: rur a3, threadptr
# CHECK: encoding: [0x70,0x3e,0xe3]
rur.threadptr a3
# CHECK-INST: wur a3, threadptr
# CHECK: encoding: [0x30,0xe7,0xf3]
wur a3, threadptr