David CARLIER
012f9a97eb
std.c: add os_proc_available_memory for darwin
2023-05-04 10:13:11 +03:00
Veikka Tuominen
3f3b1a6808
std.Build: use Step.* instead of *Step
...
Follow up to 13eb7251d37759bd47403db304c6120c706fe353
2023-05-03 20:55:29 -07:00
Jonathan Marler
5def162391
fix bug and simplify std.crypto.tls.Client.limitVecs
2023-05-03 20:52:18 -07:00
Andrew Kelley
f05cd008d8
Merge pull request #15559 from jacobly0/x86_64-behavior
...
x86_64: more behavior
2023-05-03 15:12:20 -07:00
Jacob Young
a19faa2481
x86_64: implement movement of more types
...
* f16
* f128
* vector
2023-05-03 04:25:14 -04:00
Jacob Young
6893f90887
x86_64: implement sqrt
2023-05-03 04:25:14 -04:00
Jacob Young
a5e50891cb
x86_64: optimize code size for double neg/abs
2023-05-03 04:25:14 -04:00
Jacob Young
36a39267b8
x86_64: fix feature confusion
2023-05-03 04:25:14 -04:00
Jacob Young
9ccdbca635
x86_64: implement fabs
2023-05-03 04:25:14 -04:00
Jacob Young
31429a4e86
codegen: handle variable and decl_ref_mut consistently
2023-05-03 04:25:14 -04:00
Jacob Young
40ef796278
x86_64: fix todo message typo
2023-05-03 04:25:14 -04:00
Jacob Young
f894ec264b
codegen: fix global nested field_ptr
2023-05-03 04:25:14 -04:00
Jacob Young
3a30b82741
x86_64: implement fieldParentPtr
2023-05-03 04:25:14 -04:00
Jacob Young
3f5592c114
x86_64: implement slice elem ptr for more MCValue tags
2023-05-03 04:25:14 -04:00
Jacob Young
f56f5af403
x86_64: fix global slices
2023-05-03 04:25:14 -04:00
Carl Ã…stholm
8d6336420b
std.log.defaultLog: remove freestanding compile error
2023-05-03 11:19:37 +03:00
Nicolas Sterchele
13eb7251d3
build: rename std.Build.*Step to std.Build.Step.*
...
Follow-up actions from #14647
Fixes #14947
2023-05-03 08:39:24 +03:00
Tw
855493bb8b
bpf: correct return type of ringbuf_output helper
...
Signed-off-by: Tw <weii.tan>
2023-05-03 08:37:40 +03:00
Arnau
14c68e847a
langref: Documented extern "..." use
...
The use of `extern "..."` for specifying the library that has the definition was undocumented.
Fixes #13906
2023-05-03 08:35:30 +03:00
DraagrenKirneh
b643c5dc91
Change compression detection to use content-type instead of the url ending
2023-05-03 08:23:50 +03:00
David CARLIER
b9841750f9
std.c: adding freebsd's CPU_COUNT macro portage.
2023-05-03 08:19:46 +03:00
mlugg
152c7b1885
Implement multi-argument @min/@max and notice bounds
...
Resolves : #14039
2023-05-02 16:46:27 -07:00
DraagrenKirneh
e9cbdb2cfd
Add a random generated prefix to the unix socket_path to guard against multiple tests/threads running the same test at the same time
2023-05-02 23:31:29 +03:00
Andrew Kelley
a2e2e25165
Merge pull request #15505 from jacobly0/x86_64-behavior
...
x86_64: fixes for behavior tests
2023-05-02 08:25:57 -07:00
r00ster91
eab4cd7a66
autodoc: type "?" instead of opening help modal if search selected
...
The question mark character can appear in identifiers as part of the
`@"syntax"` so we should allow typing it. Now, when the search is
selected, "?" is entered instead. It also shouldn't be that common in
general for the user to want to open the help modal.
2023-05-02 04:43:06 +02:00
r00ster91
6f1336a50c
autodoc: make the help modal toggleable
...
Now you can simply press "?" again to toggle the help modal instead of
requiring Esc. Both Esc and "?" work.
2023-05-02 04:41:25 +02:00
Jacob Young
3b1ea390a3
x86_64: cleanup lazy symbols
...
In theory fixes updating lazy symbols during incremental compilation.
2023-05-01 19:22:53 -04:00
Jacob Young
db88b41472
x86_64: fix switch multi-prongs and mul/div flags clobber
2023-05-01 19:22:53 -04:00
Jakub Konka
5e7f3d5daa
x86_64: disable advanced memset tests on Windows
2023-05-01 19:22:53 -04:00
Jakub Konka
565f8979cc
link: fix accessing source atom's symbol index in codegen
...
Since the owner can either be a `Decl` or a `LazySymbol` we need
to preserve this information at the codegen generate function level
so that we can then correctly work out the corresponding `Atom`
in the linker.
2023-05-01 19:22:52 -04:00
Jakub Konka
7064d7dbf0
Revert "x86_64: workaround tagName linker issues"
...
This reverts commit aac97b92532e7492b9145e1562e31c2e1fa66c15.
2023-05-01 19:22:52 -04:00
Jacob Young
0bdfb288cc
x86_64: workaround tagName linker issues
...
Pass extra pointer param with a linker ref when calling the lazy tagName
function to workaround not being able to lower linker refs during
codegen of a lazy func.
2023-05-01 19:22:52 -04:00
Jacob Young
47a34d038d
x86_64: implement tagName
2023-05-01 19:22:52 -04:00
Jacob Young
0489a63a43
Sema: use trap for backends that don't support panic_fn
...
Debuggers also catch trap, but the code is not allowed to continue.
2023-05-01 19:22:52 -04:00
Jacob Young
19bd7d12b0
x86_64: factor out lazy_sym
2023-05-01 19:22:52 -04:00
Jacob Young
372bc960b8
link: update decl-specific lazy symbols
2023-05-01 19:22:52 -04:00
Jacob Young
f37ca3fa73
link: cleanup lazy alignment
...
This gets the alignment from the code that creates a lazy symbol instead
of guessing it at every use.
2023-05-01 19:22:52 -04:00
Jacob Young
10a4c2269d
x86_64: enable normal start/test_runner logic on more targets
2023-05-01 19:22:52 -04:00
Jacob Young
c81878978a
x86_64: optimize wide mul with overflow
2023-05-01 19:22:52 -04:00
Jacob Young
3c2636a83d
x86_64: implement more forms of wide mul with overflow
2023-05-01 19:22:52 -04:00
Jacob Young
c388960042
x86_64: fix large not and atomicrmw
2023-05-01 19:22:52 -04:00
Jacob Young
00ae3592e6
test_runner: use const to control verbose output
2023-05-01 19:22:52 -04:00
Jacob Young
aaef5288f8
x86_64: fix 128-bit cmpxchg
2023-05-01 19:22:52 -04:00
Jacob Young
50f96c2949
x86_64: fix stack realignment
2023-05-01 19:22:52 -04:00
Jacob Young
db76ae8260
x86_64: fix emitting f80 globals
2023-05-01 19:22:52 -04:00
Jacob Young
1fd48815c6
x86_64: cleanup unneeded code
2023-05-01 19:22:52 -04:00
Jacob Young
6de457211f
behavior: update affected tests for the x86_64 backend
2023-05-01 19:22:52 -04:00
Jacob Young
4ec49da5f6
x86_64: implement a bunch of floating point stuff
2023-05-01 19:22:52 -04:00
Jacob Young
7c9891d7b7
x86_64: use std.log for debug logging
2023-05-01 19:22:52 -04:00
jcalabro
2892347440
Fix PBKDF2 docstring comment
2023-05-01 22:14:51 +03:00