aboutsummaryrefslogtreecommitdiff
path: root/rv64/isel.c
AgeCommit message (Collapse)Author
2026-01-05rv64: fix invalid float immediatesQuentin Carbonneaux
Thanks to Luke Graham for reporting and fixing this issue.
2025-04-16fix fp constants on big endian hostsQuentin Carbonneaux
2025-03-14idup(Ins **, Ins *, ulong) -> idup(Blk *, Ins *, ulong)Roland Paterson-Jones
Always used this way and factors setting b->nins. Makes b->ins vector contract more obvious.
2024-04-22revert 1b7770e271Quentin Carbonneaux
Quotes are used on Apple target variants to flag that we must not add the _ symbol prefix.
2024-03-26Drop quotes around floating point constant labelsMichael Forney
This is incompatible with binutils gas older than 2.26.
2022-11-22use a new struct for symbolsQuentin Carbonneaux
Symbols are a useful abstraction that occurs in both Con and Alias. In this patch they get their own struct. This new struct packages a symbol name and a type; the type tells us where the symbol name must be interpreted (currently, in gobal memory or in thread-local storage). The refactor fixed a bug in addcon(), proving the value of packaging symbol names with their type.
2022-10-08add support for thread-local storageQuentin Carbonneaux
The apple targets are not done yet.
2022-08-31drop -G flag and add target amd64_appleQuentin Carbonneaux
apple support is more than assembly syntax in case of arm64 machines, and apple syntax is currently useless in all cases but amd64; rather than having a -G option that only makes sense with amd64, we add a new target amd64_apple
2022-03-14dynamic stack allocs for arm64Quentin Carbonneaux
I also moved some isel logic that would have been repeated a third time in util.c.
2022-02-27rv64: cosmetics in iselQuentin Carbonneaux
2022-02-17add rv64 backendMichael Forney
It is mostly complete, but still has a few ABI bugs when passing floats in structs, or when structs are passed partly in register, and partly on stack.