14 Commits

Author SHA1 Message Date
Neel 86853ba0a4 Add RISC-V ABI register alias names for inline asm clobbers 2026-04-08 14:37:48 +02:00
Lukas Lalinsky 7dddcd043f Add lr and sp clobbers for arm/thumb 2026-02-20 01:16:33 +01:00
Alex Rønne Petersen 350eaa5bac std.builtin.assembly: add Clobbers for kvx 2025-11-10 09:40:42 +01:00
GasInfinity 104c272ae5 feat: init x86_16 arch via CBE 2025-10-27 11:19:51 +01:00
Alex Rønne Petersen ee72f06f47 std.Target: add tags and info for alpha, hppa, microblaze, sh 2025-10-23 09:27:17 +02:00
Alex Rønne Petersen 3e2daa509a std.Target: add arceb and xtensaeb Cpu.Arch tags 2025-10-23 09:27:17 +02:00
Alex Rønne Petersen 5d019abe4e start adding big endian RISC-V support
The big endian RISC-V effort is mostly driven by MIPS (the company) which is
pivoting to RISC-V, and presumably needs a big endian variant to fill the niche
that big endian MIPS (the ISA) did.

GCC already supports these targets, but LLVM support will only appear in 22;
this commit just adds the necessary target knowledge and checks on our end.
2025-08-25 16:15:17 +02:00
Andrew Kelley af084e537a add lr register to mips 2025-07-16 10:27:40 -07:00
Andrew Kelley 8a478b4e9e fix sparc ccr regs 2025-07-16 10:27:40 -07:00
Andrew Kelley 5aa50bcbff fix mips clobbers 2025-07-16 10:27:40 -07:00
Andrew Kelley 3628137442 add clobbers for more architectures 2025-07-16 10:27:40 -07:00
Andrew Kelley 15f45e89a7 remove condition codes
LLVM always assumes these are on. Zig backends do not observe them.

If Zig backends want to start using them, they can be introduced, one
arch at a time, with proper documentation.
2025-07-16 10:27:39 -07:00
Andrew Kelley de9c0e4580 alexrp suggestions 2025-07-16 10:27:39 -07:00
Andrew Kelley fcafc63f3d inline assembly: use types
until now these were stringly typed.

it's kinda obvious when you think about it.
2025-07-16 10:23:02 -07:00