Issue 142388
Summary [Sparc] `LDX`/`STX` are defined for Sparc v8
Labels new issue
Assignees
Reporter Rot127
    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
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to