Open
Description
The LDX
and STX
instructions are not defined in the Sparc v8 ISA. But assemble in in LLVM instead of being invalid.
echo "ldx [%g1], %o7 ; stx %o7, [%g1]" | llvm-mc --assemble --triple=sparc --show-encoding
.text
ldx [%g1], %o7 ! encoding: [0xde,0x58,0x40,0x00]
stx %o7, [%g1] ! encoding: [0xde,0x70,0x40,0x00]
cc @koachan