================
@@ -80,6 +80,8 @@ class Triple {
riscv64, // RISC-V (64-bit, little endian): riscv64
riscv32be, // RISC-V (32-bit, big endian): riscv32be
riscv64be, // RISC-V (64-bit, big endian): riscv64be
+ sh, // SuperH (big endian): sh
+ shl, // SuperH (little endian): shl
----------------
LunaTheFoxgirl wrote:
So, to compile for the dreamcast you'd use the flags `--target=sh4l
-mfeature=+fsrra,+fsca`. As while the dreamcast as a product only is little
endian, the chip they use is big endian by default, it's just turned little
endian via the select pin on the CPU.
https://github.com/llvm/llvm-project/pull/181287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits