docs: record Intel Core Ultra 7 358H measurements for x87 mul, div and sub #580

Merged
stan495 merged 1 commit from upstream-pr/586 into main 2026-11-22 14:45:21 +00:00
stan495 commented 2026-11-22 14:24:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-22T14:24:02Z.


Change

Record measured execution of the x87 leaf-function multiplication, division and subtraction fixtures (cpu_aot_x87_mul, cpu_aot_x87_div, cpu_aot_x87_sub) on an Intel Core Ultra 7 358H.

Verification

Measured on an Intel Core Ultra 7 358H (Intel64 Family 6 Model 204 Stepping 2, GenuineIntel), Windows 11 build 26300:

1. cpu_aot_x87_mul

ctest --preset dev --no-tests=error -R '^cpu_aot_x87_mul$' -V
  • 14951 cases over 12 exports matched the reference model in native and translated DLLs; each export returned with control 0x027f and an empty stack.
  • x87_call kept live caller value and control word 0x0f7f around all 12 exports; envonly lost it in 12/12 cases.
  • Controls matched previously measured counts on AMD:
    • pc64: 4836/14951
    • double: 8059/14951
    • lowzeros: 62/14951
    • signfirst: 4409/14951
    • infzeroinf: 73/14951
    • quietfirst: 36/14951

2. cpu_aot_x87_div

ctest --preset dev --no-tests=error -R '^cpu_aot_x87_div$' -V
  • 23939 cases over 17 exports matched the reference model in native and translated DLLs; each export returned with control 0x027f and an empty stack.
  • x87_call kept live caller value and control word 0x0f7f around all 17 exports; envonly lost it in 17/17 cases.
  • Negative controls:
    • pc64: 8785/23939 mismatches (vs 8857 on AMD, reflecting an authentic division precision characteristic difference between microarchitectures)
    • double: 14373/23939
    • norem: 253/23939
    • zerozeroindef: 602/23939
    • fdivorder: 6829/23939
    • zerosign: 551/23939
    • quietfirst: 54/23939

3. cpu_aot_x87_sub

ctest --preset dev --no-tests=error -R '^cpu_aot_x87_sub$' -V
  • 35023 cases over 22 exports matched the reference model in native and translated DLLs; each export returned with control 0x027f and an empty stack.
  • x87_call kept live caller value and control word 0x0f7f around all 22 exports; envonly lost it in 22/22 cases.
  • Controls:
    • pc64: 15680/35023
    • double: 24289/35023
    • negnan: 2022/35023
    • fsuborder: 7753/35023
    • signedzero: 777/35023
    • nosticky: 108/35023
    • quietfirst: 81/35023

Documentation and hygiene checks

python -B tests/docs_links_check.py
python -B tests/bidi_controls_check.py

Both checks passed with zero errors.

Evidence and follow-up

Follows the existing reproduction commands specified in docs/experiments.md.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted: verified and drafted with Antigravity.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6543506763 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/586). Originally posted by [stan495](https://github.com/stan495) on 2026-11-22T14:24:02Z. --- ## Change Record measured execution of the x87 leaf-function multiplication, division and subtraction fixtures (`cpu_aot_x87_mul`, `cpu_aot_x87_div`, `cpu_aot_x87_sub`) on an Intel Core Ultra 7 358H. ## Verification Measured on an Intel Core Ultra 7 358H (`Intel64 Family 6 Model 204 Stepping 2, GenuineIntel`), Windows 11 build 26300: ### 1. `cpu_aot_x87_mul` ```powershell ctest --preset dev --no-tests=error -R '^cpu_aot_x87_mul$' -V ``` - 14951 cases over 12 exports matched the reference model in native and translated DLLs; each export returned with control `0x027f` and an empty stack. - `x87_call` kept live caller value and control word `0x0f7f` around all 12 exports; `envonly` lost it in 12/12 cases. - Controls matched previously measured counts on AMD: - `pc64`: 4836/14951 - `double`: 8059/14951 - `lowzeros`: 62/14951 - `signfirst`: 4409/14951 - `infzeroinf`: 73/14951 - `quietfirst`: 36/14951 ### 2. `cpu_aot_x87_div` ```powershell ctest --preset dev --no-tests=error -R '^cpu_aot_x87_div$' -V ``` - 23939 cases over 17 exports matched the reference model in native and translated DLLs; each export returned with control `0x027f` and an empty stack. - `x87_call` kept live caller value and control word `0x0f7f` around all 17 exports; `envonly` lost it in 17/17 cases. - Negative controls: - `pc64`: 8785/23939 mismatches (vs 8857 on AMD, reflecting an authentic division precision characteristic difference between microarchitectures) - `double`: 14373/23939 - `norem`: 253/23939 - `zerozeroindef`: 602/23939 - `fdivorder`: 6829/23939 - `zerosign`: 551/23939 - `quietfirst`: 54/23939 ### 3. `cpu_aot_x87_sub` ```powershell ctest --preset dev --no-tests=error -R '^cpu_aot_x87_sub$' -V ``` - 35023 cases over 22 exports matched the reference model in native and translated DLLs; each export returned with control `0x027f` and an empty stack. - `x87_call` kept live caller value and control word `0x0f7f` around all 22 exports; `envonly` lost it in 22/22 cases. - Controls: - `pc64`: 15680/35023 - `double`: 24289/35023 - `negnan`: 2022/35023 - `fsuborder`: 7753/35023 - `signedzero`: 777/35023 - `nosticky`: 108/35023 - `quietfirst`: 81/35023 ### Documentation and hygiene checks ```bash python -B tests/docs_links_check.py python -B tests/bidi_controls_check.py ``` Both checks passed with zero errors. ## Evidence and follow-up Follows the existing reproduction commands specified in `docs/experiments.md`. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted: verified and drafted with Antigravity.
upstream-sync closed this pull request 2026-11-24 06:43:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!580
No description provided.