| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
x86_64: generate better constant memcpy code
|
|
|
|
`std.os.linux`: Fix `k_sigaction` ABI issue on platforms w/o `SA_RESTORER`
|
|
|
|
loongarch, mips, riscv
The kABIs for these architectures don't define these concepts.
|
|
loongarch64, riscv32, riscv64
https://www.openwall.com/lists/musl/2025/09/28/2
|
|
https://github.com/quic/musl/pull/7
|
|
https://www.openwall.com/lists/musl/2025/09/28/1
|
|
https://github.com/llvm/llvm-project/commit/ba87515fea90b5d55836a8e3be63a7e683ce299d
closes #25376
|
|
|
|
|
|
Without allowing this, the references to `compiler_rt.dll` emitted by
the coff linker will prevent the executable from running.
|
|
|
|
Because -fno-llvm is now the default on x86_64-linux, this target was
exactly equivalent to one specified earlier in the matrix. This was
probably just missed when doing the work to enable the self-hosted
backend by default for x86_64.
|
|
The memory operand might use one of the extended GPRs R8 through R15 and
hence require a REX prefix, but having a REX prefix makes the high-byte
register AH unencodeable as the src operand. This latent bug was exposed
by this branch, presumably because `select` now happens to be putting
something in an extended GPR instead of a legacy GPR.
In theory this could be fixed with minimal cost by introducing a way to
communicate to `select` that neither the destination memory nor the
other temporary can be in an extended GPR. However, I just went for the
simple solution which comes at a cost of one trivial instruction: copy
the remainder from AH to AL, and *then* copy AL to the destination.
|
|
|
|
`rep movsb` isn't usually a great idea here. This commit makes the logic
which tentatively existed in `genInlineMemcpy` apply in more cases, and
in particular applies it to the "new" backend logic. Put simply, all
copies of 128 bytes or fewer will now attempt this path first,
where---provided there is an SSE register and/or a general-purpose
register available---we will lower the operation using a sequence of 32,
16, 8, 4, 2, and 1 byte copy operations.
The feedback I got on this diff was "Push it to master and if it
miscomps I'll revert it" so don't blame me when it explodes
|
|
Fix DragonFly bootstrap
|
|
This no longer exists and caused the build to fail.
|
|
https://www.openwall.com/lists/musl/2025/09/27/1
closes #25367
|
|
`aro`: `TypeStore`: synchronize `__va_list_tag` logic with Zig's `std.builtin.VaList`
|
|
* Add missing functions like ISDIR() or ISREG(). This is required to
build the zig compiler
* Use octal notation for the S_ constants. This is how it is done for
".freebsd" and it is also the notation used by DragonFly in
"sys/stat.h"
* Reorder S_ constants in the same order as ".freebsd" does. Again, this
follows the ordering within "sys/stat.h"
|
|
|
|
Before https://github.com/ziglang/zig/pull/18160, error tracing defaulted to true in ReleaseSafe, but that is no longer the case. These option descriptions were never updating accordingly.
|
|
https://github.com/Vexu/arocc/pull/893
closes #25361
|
|
|
|
|
|
|
|
|
|
|
|
fuzzing: implement limited fuzzing
|
|
std.mem: introduce cut functions; rename "index of" to "find"
|
|
|
|
|
|
This would cause the web ui to crash in js or wasm.
|
|
|
|
--debug-rt previously would make rt libs match the root module. Now they
are always debug when --debug-rt is passed. This includes compiler-rt,
fuzzer lib, and others.
|
|
|
|
We already have test/cases/pie_linux.zig covering this.
|
|
No longer necessary since we've stopped using Clang for this.
|
|
No longer necessary since we've stopped using Clang for this.
|
|
compiler: update aro and translate-c to latest; delete clang translate-c
|
|
|
|
Moving towards our function naming convention of having one word per
concept and constructing function names out of concatenated concepts.
In `std.mem` the concepts are:
* "find" - return index of substring
* "pos" - starting index parameter
* "last" - search from the end
* "linear" - simple for loop rather than fancy algo
* "scalar" - substring is a single element
|
|
|
|
|
|
|