aboutsummaryrefslogtreecommitdiffhomepage
path: root/src-backend/codegen/codegen_common.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-25Backend: Fix incorrect addresses of stack variablesSamuel Lidén Borell1-1/+2
2024-05-25Backend: Fix offset of aligned struct fieldsSamuel Lidén Borell1-1/+2
2024-05-23Backend: Fix undersized bitfieldSamuel Lidén Borell1-1/+1
2024-05-11Update copyright yearsSamuel Lidén Borell1-1/+1
2024-05-10Backend: Implement relocations of references to .rodataSamuel Lidén Borell1-0/+6
2024-05-08Backend: Emit contents in .rodata sectionSamuel Lidén Borell1-0/+1
2024-05-04Backend: Variable indexes in LOADELEM/ADDRELEMSamuel Lidén Borell1-4/+4
2024-05-03aarch64: Emit code for ir operations ADDRSTATICELEM, LOADSTATICELEMSamuel Lidén Borell1-2/+51
2024-04-28Backend: Fix clang --analyze warningSamuel Lidén Borell1-1/+1
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/+10
2024-04-26Backend: Fix uninitialized variables in codegenSamuel Lidén Borell1-3/+4
2024-04-24Backend: Auto-detect addressed variablesSamuel Lidén Borell1-1/+1
2024-03-17Backend: Use callee-saved registersSamuel Lidén Borell1-13/+34
2024-03-16aarch64: Basic (and inefficient) register save/restoreSamuel Lidén Borell1-13/+37
2024-03-14Backend: Allocate stack space for possibly spilled variablesSamuel Lidén Borell1-0/+105
2024-03-03Fix various cppcheck warningsSamuel Lidén Borell1-6/+21
2024-01-22Fix incorrect addrslots at codegen chunk boundariesSamuel Lidén Borell1-1/+2
2023-12-27codegen: Don't rely on unsigned/size_t being 32 bitsSamuel Lidén Borell1-3/+3
2023-07-26Backend: Add support for helper functions + add __x86.get_pc_thunk.bxSamuel Lidén Borell1-0/+32
2023-07-20elf: Generate .plt.got contentsSamuel Lidén Borell1-0/+9
2023-07-20Backend: Factor out code chunks to a separate structSamuel Lidén Borell1-22/+22
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/+2
2023-07-13elf/aarch64: Emit basic relocations (call26 only)Samuel Lidén Borell1-0/+15
2023-06-17Fix some warnings from clang-analyzeSamuel Lidén Borell1-1/+0
2023-06-16aarch64: More work on boolean operatorsSamuel Lidén Borell1-0/+19
2023-05-27Fix null pointer access when a forward jump is the first instructionSamuel Lidén Borell1-1/+4
2023-05-20aarch64: Implement unconditional jumpsSamuel Lidén Borell1-0/+42
2023-04-02Backend: Generate ELF .symtab entriesSamuel Lidén Borell1-0/+10
2023-03-31Backend: Implement output of ELF File Header and machine codeSamuel Lidén Borell1-2/+0
2023-03-31Backend: Fix IR OP iterator bugSamuel Lidén Borell1-2/+4
2023-03-30Backend: Add code generation loopSamuel Lidén Borell1-3/+5
2023-03-29aarch64: Basic structure of code generatorSamuel Lidén Borell1-0/+5
2023-03-29Backend: Codegen functions for IR iteration etc.Samuel Lidén Borell1-0/+32
2023-03-29Comment updates and minor cleanupsSamuel Lidén Borell1-1/+1
2022-12-10Fix some cppcheck warnings and a doc-commentSamuel Lidén Borell1-2/+1
2022-12-10Backend: Add chunked storage of emitted instructionsSamuel Lidén Borell1-5/+24
2022-11-30Backend: Generation of basic x86 and aarch64 function prologues/epiloguesSamuel Lidén Borell1-0/+44