aboutsummaryrefslogtreecommitdiffhomepage
path: root/src-backend/codegen/codegen_common.h
AgeCommit message (Expand)AuthorFilesLines
2024-05-23Backend: Fix undersized bitfieldSamuel Lidén Borell1-16/+22
2024-05-11Update copyright yearsSamuel Lidén Borell1-1/+1
2024-05-10Backend: Implement relocations of references to .rodataSamuel Lidén Borell1-1/+6
2024-05-08Backend: Emit contents in .rodata sectionSamuel Lidén Borell1-1/+2
2024-05-04Backend: Variable indexes in LOADELEM/ADDRELEMSamuel Lidén Borell1-1/+2
2024-05-03aarch64: Emit code for ir operations ADDRSTATICELEM, LOADSTATICELEMSamuel Lidén Borell1-0/+3
2024-04-26Backend: Add const on arch-independent data in codegenSamuel Lidén Borell1-3/+3
2024-04-26Backend: Fix callee-saved regs not being savedSamuel Lidén Borell1-0/+1
2024-04-26Backend: Add CSBE_TRAP_ON_ERROR defineSamuel Lidén Borell1-4/+10
2024-03-17aarch64: Implement outbound register parametersSamuel Lidén Borell1-0/+2
2024-03-16aarch64: Basic (and inefficient) register save/restoreSamuel Lidén Borell1-0/+1
2024-03-14Backend: Allocate stack space for possibly spilled variablesSamuel Lidén Borell1-0/+14
2024-03-10codegen: Always pre-allocate insn before storing addrslot/relocationSamuel Lidén Borell1-1/+6
2024-03-03Fix various cppcheck warningsSamuel Lidén Borell1-4/+4
2024-02-22Backend: Fix incorrect computation of constant FUNCID_LIBC_INITSamuel Lidén Borell1-1/+1
2024-01-22Fix incorrect addrslots at codegen chunk boundariesSamuel Lidén Borell1-0/+3
2023-12-27codegen: Don't rely on unsigned/size_t being 32 bitsSamuel Lidén Borell1-16/+18
2023-08-11Use namespace prefix in include guardsSamuel Lidén Borell1-2/+2
2023-07-28x86: Add 32-bit start codeSamuel Lidén Borell1-0/+1
2023-07-27Backend: Emit call to __libc_start_mainSamuel Lidén Borell1-1/+5
2023-07-27x86: Computation/relocation of GOT address via pc thunkSamuel Lidén Borell1-2/+6
2023-07-26Backend: Add support for helper functions + add __x86.get_pc_thunk.bxSamuel Lidén Borell1-0/+5
2023-07-25elf: Generate .symtab entry and stub for startup codeSamuel Lidén Borell1-0/+1
2023-07-20elf: Generate .plt.got contentsSamuel Lidén Borell1-1/+2
2023-07-20Backend: Factor out code chunks to a separate structSamuel Lidén Borell1-7/+12
2023-07-18elf: Implement .gnu.hashSamuel Lidén Borell1-1/+2
2023-07-15Update copyright yearsSamuel Lidén Borell1-1/+1
2023-07-14Backend: Use relocation addends (RELA) on platforms that use themSamuel Lidén Borell1-1/+3
2023-07-14Backend: Actually save/restore link registerSamuel Lidén Borell1-5/+0
2023-07-13aarch64: Fix incorrectly optimized out jumps in RETURN_* opsSamuel Lidén Borell1-0/+6
2023-07-13elf/aarch64: Emit basic relocations (call26 only)Samuel Lidén Borell1-4/+30
2023-07-13aarch64: Initial support for internal calls (arg-less void calls only)Samuel Lidén Borell1-5/+9
2023-06-18Backend: Possiblity to dump IR in text formSamuel Lidén Borell1-0/+1
2023-06-18Backend: Fix incorrect bounds checkSamuel Lidén Borell1-10/+10
2023-06-16aarch64: More work on boolean operatorsSamuel Lidén Borell1-0/+1
2023-05-20aarch64: Implement unconditional jumpsSamuel Lidén Borell1-1/+21
2023-05-20aarch64: Handle incoming function arguments in x0-x7Samuel Lidén Borell1-0/+2
2023-04-02Backend: Generate ELF .symtab entriesSamuel Lidén Borell1-0/+2
2023-03-30Backend: Add code generation loopSamuel Lidén Borell1-0/+1
2023-03-29aarch64: Basic structure of code generatorSamuel Lidén Borell1-3/+1
2023-03-29Backend: Fix crash when adding function prologueSamuel Lidén Borell1-1/+2
2023-03-29Backend: Codegen functions for IR iteration etc.Samuel Lidén Borell1-0/+39
2023-03-29Comment updates and minor cleanupsSamuel Lidén Borell1-3/+3
2022-12-10Backend: Add chunked storage of emitted instructionsSamuel Lidén Borell1-3/+14
2022-11-30Backend: Generation of basic x86 and aarch64 function prologues/epiloguesSamuel Lidén Borell1-0/+109