Jacob Young
|
dbfa3238fe
|
Builder: fix float constants in llvm ir
|
2024-02-22 23:51:53 +01:00 |
|
Jacob Young
|
6f08e17229
|
InternPool: make more use of NullTerminatedString.Slice
This should avoid the random pointer invalidation crashes.
Closes #18954
|
2024-02-16 00:27:25 -08:00 |
|
Jacob Young
|
cb3fe277bb
|
x86_64: fix crash loading a packed value from a spilled pointer
Unblocks #18923
|
2024-02-14 18:28:20 +01:00 |
|
Jacob Young
|
e27db373ec
|
x86_64: implement @clz and @ctz of big integers
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
d894727873
|
x86_64: implement @byteSwap of big integers
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
271505cfc8
|
x86_64: fix compiler_rt tests
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
bcbd49b2a6
|
x86_64: implement shifts of big integers
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
9023ff04d0
|
x86_64: fix register clobber
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
a9f738e56b
|
x86_64: implement c abi for bool vectors
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
c6b3db8910
|
x86_64: implement @abs of big integers
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
7c9a96111c
|
x86_64: fix assert location
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
5a62f26579
|
x86_64: fix packed load
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
f2a62d25fc
|
x86_64: implement ret_safe
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
c619551f7d
|
x86_64: fix incorrect alignment check
|
2024-02-12 05:25:07 +01:00 |
|
Jacob Young
|
6235762c09
|
x86_64: implement mul, div, and mod of large integers
This enables the last compiler-rt test disabled for the x86_64 backend.
|
2024-02-12 05:25:07 +01:00 |
|
Pyry Kovanen
|
476ba04753
|
x86: remove final vestiges of mir_to_air (#18836)
|
2024-02-06 14:13:31 -05:00 |
|
David Rubin
|
3069669bc1
|
add the clflush mnem
|
2024-02-06 07:08:16 -05:00 |
|
Andrew Kelley
|
78f15bc714
|
compiler: rename value.zig to Value.zig
This commit only does the file rename to be friendlier to version
control conflicts.
|
2024-02-05 18:13:07 -07:00 |
|
Jacob Young
|
941d3a2bb1
|
x86_64: fix miscompilations on baseline
|
2024-02-05 02:16:56 -05:00 |
|
Veikka Tuominen
|
7d75c3d3b8
|
llvm: ensure returned undef is 0xaa bytes when runtime safety is enabled
Closes #13178
|
2024-01-29 17:35:07 -08:00 |
|
Jakub Konka
|
080ad94249
|
x86_64: save TLS to stack for MachO
|
2024-01-24 12:34:42 +01:00 |
|
Jakub Konka
|
a79a038e61
|
codegen: implement more missing bits
|
2024-01-24 12:34:41 +01:00 |
|
Jakub Konka
|
96cc9fafbf
|
codegen: re-implement enough of codegen to error out instead panic
|
2024-01-24 12:34:41 +01:00 |
|
Jakub Konka
|
dd0addab1f
|
macho: get the ball rolling!
|
2024-01-24 12:34:38 +01:00 |
|
Andrew Kelley
|
2047a6b82d
|
fix remaining compile errors except one
|
2024-01-01 17:51:20 -07:00 |
|
Andrew Kelley
|
48d5861f92
|
fix more compilation errors introduced by this branch
|
2024-01-01 17:51:20 -07:00 |
|
Andrew Kelley
|
c49957dbe8
|
fix a round of compile errors caused by this branch
|
2024-01-01 17:51:19 -07:00 |
|
Andrew Kelley
|
bc4d2b646d
|
compiler: update references to target
|
2024-01-01 17:51:19 -07:00 |
|
Andrew Kelley
|
f5ddef1e45
|
update references to module (to be renamed to zcu)
|
2024-01-01 17:51:19 -07:00 |
|
Jacob Young
|
c70c333594
|
x86_64: fix packed struct field reuse
|
2023-12-04 13:31:54 -05:00 |
|
Jacob Young
|
bdb6546a8f
|
x86_64: fix vector comparisions
|
2023-12-04 13:09:13 -05:00 |
|
Jacob Young
|
50993a8f08
|
x86_64: implement more operations on vectors with 1-bit elements
|
2023-12-04 01:29:07 -05:00 |
|
Jacob Young
|
485e20884c
|
x86_64: implement movement for pointer vectors
|
2023-12-03 23:07:50 -05:00 |
|
Jacob Young
|
7c85ea65ba
|
x86_64: "implement" aggregate_init for vectors
|
2023-12-03 13:55:31 -05:00 |
|
Jacob Young
|
e00f1397e3
|
x86_64: implement some todos
|
2023-12-03 10:24:03 -05:00 |
|
Jacob Young
|
014833b61f
|
x86_64: implement more compliant vectors
|
2023-12-03 10:22:06 -05:00 |
|
Jacob Young
|
917b4ad5e0
|
x86_64: implement more atomic ops
|
2023-12-03 10:22:06 -05:00 |
|
Jacob Young
|
daf91ed8d1
|
Air: use typesafe Air.Inst.Index
I need some indices for a thing...
|
2023-12-03 02:05:06 -08:00 |
|
Jacob Young
|
bf5ab54510
|
test: test with -fstrip and fix failures
Closes #17513
|
2023-12-01 04:34:50 +00:00 |
|
Meghan Denny
|
2549de80b2
|
move Module.Decl.Index and Module.Namespace.Index to InternPool
|
2023-11-26 02:24:40 -05:00 |
|
Techatrix
|
18608223ef
|
convert toType and toValue to Type.fromInterned and Value.fromInterned
|
2023-11-25 04:09:53 -05:00 |
|
mlugg
|
b355893438
|
compiler: correct unnecessary uses of 'var'
|
2023-11-19 11:11:49 +00:00 |
|
Jacob Young
|
0c6cb8d8c8
|
x86_64: actually track state during @divFloor of i128
Closes #17998
|
2023-11-14 22:50:05 -05:00 |
|
Jacob Young
|
80b73e3e8f
|
x86_64: resolve tlv references on first use and spill to the stack
This avoids any arbitrary memory operand possibly clobbering rax and
sometime rdi with no warning.
|
2023-11-12 18:12:41 -05:00 |
|
Jakub Konka
|
c6833e6273
|
x86_64: remove unreachable Elf prong
|
2023-11-12 18:12:41 -05:00 |
|
Jakub Konka
|
575c29e5c4
|
elf: set symbol flags such as needs_zig_got in ZigObject
|
2023-11-12 18:12:41 -05:00 |
|
Jacob Young
|
2eeb735822
|
Dwarf: improve x86_64 backend debug info
Closes #17811
|
2023-11-12 03:21:52 -05:00 |
|
Jacob Young
|
e387d30b26
|
x86_64: fix signed not of more than 64 bits
|
2023-11-08 08:49:34 -05:00 |
|
Jacob Young
|
8f2aa72af7
|
x86_64: fix optional comparison
|
2023-11-08 07:24:48 -05:00 |
|
Jacob Young
|
9ced27dace
|
x86_64: fix passing register-sized payload as non-reigster-sized union
Closes #17885
|
2023-11-06 14:11:31 -05:00 |
|