Commit Graph
717 Commits
Author SHA1 Message Date
atharvranjan 4652eb08cb Integrate PR #267 with current native runtime
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:45:36 -06:00
atharvranjan d1bcd0249d Integrate PR #268 and clarify Win64 shadow-space expectations
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:44:49 -06:00
atharvranjan 097bb0b5b8 Merge commit '19f63a0' into integration/pr-284
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:43:15 -06:00
atharvranjan 2d77b35e56 Merge remote-tracking branch 'origin/main' into integration/pr-284
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>

# Conflicts:
#	CHANGELOG.md
2026-11-24 21:43:15 -06:00
atharvranjan 19f63a0985 Merge remote-tracking branch 'origin/main' into integration/pr-270
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:42:09 -06:00
atharvranjan 45322af82e Merge pull request #288 from MacosPorters/foc
Define BetterXen development phases and record migration repairs
2026-11-24 21:41:11 -06:00
atharvranjan aa9a961ef4 Remove README contributor avatar section
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:37:38 -06:00
atharvranjan 10347dc21b Document BetterXen development phases and migration check repairs
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:34:55 -06:00
atharvranjan 4d530392d1 Merge pull request #285 from MacosPorters/repo/add-codeowners
Add CODEOWNERS requiring maintainer review
2026-11-24 21:30:10 -06:00
atharvranjan f02eb2678e Add CODEOWNERS requiring maintainer review
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:21:45 -06:00
atharvranjan 19a905c30e Document migration archive refs as tags
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-24 21:01:27 -06:00
atharvranjan bfe0bbfaf7 Rename project and native applications to BetterXen
Update active repository links and coordination settings while retaining upstream history, notices, legacy library names and guest interfaces. Document the independent-copy migration and its limits.

Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
migration-archive-2026-11-24
2026-11-24 20:51:08 -06:00
Ranveer Soni 5442503d57 Merge pull request #421 from devil8blade/cursor/shader-cse-142
shader: opt-in IR common-subexpression elimination (#142)
2026-11-25 07:44:42 +05:30
devil8blade f0c61c7a91 loader: copy mid-size TLS templates into the zeroed block (#111)
Templates from 64 KiB up to 1 MiB were staged in a second buffer and
copied again into the thread block. Proving those bytes readable, then
copying them into the block that is already zeroed, avoids that buffer
and still maps nothing when the template cannot be read. Smaller
templates and templates of 1 MiB or more keep the single staged read,
which measured as fast or faster.

Signed-off-by: devil8blade <360741796+devil8blade@users.noreply.github.com>
2026-11-24 21:01:31 -05:00
devil8blade 0caca18634 shader: opt-in IR common-subexpression elimination (#142)
Reuse the first equivalent pure vector unary or binary when
CompileOptions::eliminate_common_subexpressions is set. The flag defaults
off, so existing output stays byte-identical. Loads, stores, constant
definitions, lane masks, merges, branches and other side-effecting or
mask-dependent ops are not reused. Constant folding still runs first.

Signed-off-by: devil8blade <360741796+devil8blade@users.noreply.github.com>
archive/pull/421/head
2026-11-24 20:49:19 -05:00
Ranveer Soni 2ea75603be Merge pull request #338 from LanaCodes-Boop/runtime/guest-clock-fixtures
loader: stop the mock clock wrapping and test time services against one clock (#204)
2026-11-25 06:56:35 +05:30
Ranveer Soni 6fc06dccff Merge branch 'main' into runtime/guest-clock-fixtures archive/pull/338/head 2026-11-25 06:56:20 +05:30
Ranveer Soni a1295d5a48 Merge pull request #331 from zachdoxsee/task/329-gate-a1
loader: add process exit and the Gate A1 compiled C program (#329)
2026-11-25 06:55:50 +05:30
Ranveer Soni 20d7b9ece4 Merge pull request #376 from GDemay/perf/105-contiguous-data-access
loader: avoid resolver allocations in guest data access
2026-11-25 06:46:38 +05:30
zachdoxsee 0929d0214b Move the changelog entry down the list
Every merge to main adds its entry at the head of the Added list, and so did
this branch, so each of those merges put this branch in conflict over one
line. The entry is unchanged; it now sits lower down, in a place of its own.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
archive/pull/331/head
2026-11-25 02:14:00 +01:00
zachdoxsee 66f7127553 Merge upstream main into task/329-gate-a1
Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-25 02:10:46 +01:00
Ranveer Soni 714eaf49e2 Merge pull request #330 from devil8blade/cursor/shader-const-fold-141-5c9c
shader: opt-in IR constant folding with known-answer tests (#141)
2026-11-25 06:40:20 +05:30
devil8blade c93b505223 shader: opt-in IR constant folding with known-answer tests (#141)
Add CompileOptions::fold_constants and compile_with so pure vector unary
and binary ops between constants can fold after verification. Default
compile keeps the historical IR. Floating-point folding still uses the
exact positive-normal rules. Covered by hand-computed known-answer tests
and a fold-on versus fold-off check.

Signed-off-by: devil8blade <360741796+devil8blade@users.noreply.github.com>
archive/pull/330/head
2026-11-25 01:05:13 +00:00
Ranveer Soni d8f7f2cb13 Merge pull request #380 from vedantdadhich21/fix/noncanonical-address-gp
fix(loader): raise GP for non-canonical data addresses (#379)
2026-11-25 06:34:40 +05:30
Ranveer Soni 042c08c855 Merge pull request #337 from zachdoxsee/task/333-pe-headers
loader: map the PE headers at the image base (#333)
2026-11-25 06:33:39 +05:30
Ranveer Soni 7e4ccd1e97 Merge pull request #316 from soggyramennoodle/feat/runtime-fuzz-bench
Runtime fuzzing, dispatch benchmarks, CRT string scans and MSVC name decoding
2026-11-25 06:32:53 +05:30
Ranveer Soni 96c772edc5 Merge pull request #398 from maridogolpeador/loader/121-shld-shrd
loader: add SHLD and SHRD, the double-precision shifts (#121)
2026-11-25 06:31:45 +05:30
zachdoxsee 496938aef4 Merge upstream main into task/333-pe-headers
Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
archive/pull/337/head
2026-11-25 01:56:51 +01:00
zachdoxsee 9d94c0f40a Merge upstream main into task/329-gate-a1
Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-25 01:56:40 +01:00
zachdoxsee 4e18000798 Merge upstream main into task/329-gate-a1
Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-25 01:56:31 +01:00
Ranveer Soni 8c188b04c9 Merge pull request #377 from katherinebytes/codex/cpu-differential-corpus
Test 524 seeded x86-64 programs on the interpreter and native DBT
2026-11-25 06:24:35 +05:30
Ranveer Soni 9eb75522f0 Merge pull request #375 from Arths17/test/194-c7-immediate-store
test: add known answers for C6 and C7 immediate stores (#194)
2026-11-25 06:23:04 +05:30
Ranveer Soni 3f41f7406b Merge pull request #339 from jelly013/phase3b-runtime
runtime: add a deterministic guest thread scheduler (#323, part 1)
2026-11-25 06:22:00 +05:30
maridogolpeador 67023d292b loader: add SHLD and SHRD, the double-precision shifts (#121)
Both engines refused SHLD and SHRD (0F A4/A5, 0F AC/AD) as illegal
instructions. They are now declared in the x86 registry and run on the
shared semantics for 16-, 32- and 64-bit register and memory
destinations, with the count in an 8-bit immediate or in CL.

- instructions.toml, x86_table.rs (generated), generate_x86.py,
  x86_decode.rs: the two operations and two operand encodings,
  rm_reg_imm and rm_reg_cl (ModRM destination, reg source, count).
- x86_exec.rs: the destination is shifted with the vacated bits filled
  from the source register. The count is masked to five bits (six for
  64-bit operands), a masked count of zero changes nothing, CF takes the
  last bit shifted out, ZF/SF/PF follow the result and OF is set only
  for a count of one. A 16-bit count above 16 is undefined in the SDM;
  the flags are kept and no test relies on the result.
- cpu_known_answers.rs: eight SDM-derived cases move from refused to
  verified.
- tests/x86: 72 assembled SHLD and SHRD instructions, with a
  bit-at-a-time reference in x86_integer.rs. A destination the
  reference marks undefined now skips the memory operand check too.
- docs/cpu/instruction-registry.md, CHANGELOG.md.

Nothing is lowered to ARM64.

Signed-off-by: maridogolpeador <354308468+maridogolpeador@users.noreply.github.com>
archive/pull/398/head
2026-11-24 20:47:45 -03:00
Adeeb Rahman 324eab08c3 Merge remote-tracking branch 'origin/main' into feat/runtime-fuzz-bench
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com>
archive/pull/316/head
2026-11-24 18:32:27 -05:00
Guillaume Demay 7d28fc89de loader: avoid resolver allocations for contiguous data access
Signed-off-by: Guillaume Demay <guillaumedemay@hotmail.fr>
archive/pull/376/head
2026-11-24 22:56:32 +01:00
Vedant Dadhich 9a29bd9c37 fix(loader): raise GP for non-canonical data addresses
Check canonical 48-bit address ranges in shared interpreter accesses, 16-byte SIMD paths, and every native DBT memory helper. Enable and expand the architectural known-answer group across operand widths, vector accesses, segment-base wrapping, boundary crossings, and valid canonical endpoints.

Signed-off-by: Vedant Dadhich <vedantdadhich21@gmail.com>
archive/pull/380/head
2026-11-25 03:21:14 +05:30
jelly013 38359969cd Merge main into phase3b-runtime
Signed-off-by: jelly013 <22855910+jelly013@users.noreply.github.com>
archive/pull/339/head
2026-11-24 22:44:09 +01:00
zachdoxsee 652c6ae02f Merge upstream main into the C6/C7 immediate-store tests branch
Conflict in CHANGELOG.md only: both new entries are kept.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
archive/pull/375/head
2026-11-24 22:24:27 +01:00
zachdoxsee 0529c62226 Merge upstream main into task/333-pe-headers
Any conflict was in CHANGELOG.md, where every entry is kept.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-24 22:24:13 +01:00
zachdoxsee e6fa931264 Merge upstream main into task/329-gate-a1
Any conflict was in CHANGELOG.md, where every entry is kept.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-24 22:24:13 +01:00
Zach Doxsee 3b47c21bb0 Merge pull request #348 from 1Bartosz/cpu/195-adc-sbb-dbt
loader: run ADC and SBB register and immediate forms natively in the DBT (#195)
2026-11-24 22:20:44 +01:00
Zach Doxsee 9a62d86a89 Merge pull request #362 from katherinebytes/codex/metal-compute-pipeline-cache
Reuse bounded Metal compute pipelines
2026-11-24 22:20:29 +01:00
Zach Doxsee 4b32c532fe Merge pull request #370 from vedantdadhich21/fix/portable-gpu-timeout
Scripts: run GPU tests without GNU timeout
2026-11-24 22:20:20 +01:00
Arthur Lacoste af1b84ad75 loader: fix needless_range_loop in Win64 ABI tests (#201)
Address review feedback from zachdoxsee on PR #369: replace index-only XMM range loops with iterator-based loops so strict clippy passes on Rust 1.100.

Signed-off-by: Arthur Lacoste <arthurlacoste@users.noreply.github.com>
2026-11-24 22:14:29 +01:00
Arthur Lacoste cf438e25aa Merge remote-tracking branch 'origin/main' into runtime/win64-service-abi-201
# Conflicts:
#	CHANGELOG.md
2026-11-24 22:13:14 +01:00
katherinebytes bd46504a97 Add a seeded CPU differential corpus
Signed-off-by: katherinebytes <rebooteduck+kr@gmail.com>
archive/pull/377/head
2026-11-24 21:11:03 +00:00
zachdoxsee cc4dd092cf Merge upstream main into task/333-pe-headers
Any conflict was in CHANGELOG.md, where every entry is kept.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-24 22:01:29 +01:00
zachdoxsee 04ee981103 Merge upstream main into task/329-gate-a1
Any conflict was in CHANGELOG.md, where every entry is kept.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-24 22:01:29 +01:00
Zach Doxsee bbc84c0da0 Merge pull request #373 from 1Bartosz/bench/112-json-export
bench: export dbt_bench results as JSON (#112)
2026-11-24 21:57:25 +01:00