Olympus: expand RDNA2 ISA compatibility #4
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T16:39:37Z.
Adds test-backed RDNA2 ISA translations, including scalar and vector operations, typed buffers, 64-bit atomics/math, relative moves, double frexp/rounding/division fixup, and half division fixup.
Coverage reaches 1036/1157 instructions (89.5%). Deterministic translation tests and DXC validation are included; supported GPU paths are exercised where hardware permits.
Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T16:56:26Z.
Thanks, lots of useful instructions here! I merged the version I reviewed (
06a4a49) into main in3bd4dfe, with fixes ine819d36– on a real GPU (RX 9070) a few of the new GPU tests failed:v_ceil_f64:-floor_d(-x)gave-0.0for 1.5625 → now truncate and +1 below x, no f64 negationv_sqrt_f64/v_rsq_f64ran in f32 precision (HLSL'ssqrthas no f64 overload and1.0is an f32 literal) →sqrt_drefines the f32 root with two f64 Newton stepsgpu_v_swaprel_b32: the relative target was outside the program's VGPRs (same rule asgpu_v_movrel) → the test now uses v15 directlyThe later pushes still have the old ceil/sqrt, and the new
v_div_fixupGPU tests fail here as well (gpu_div_fixup_f16:half_bits(inf)gives 0, and the f64 one fails too). Could you run thegpu_*tests on real hardware and sendv_div_fixupas a new PR on top of current main? Closing this one since what I reviewed is in main.Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T16:59:10Z.
Sorry – I closed this too early while you were still pushing updates, and GitHub won't let me reopen it because the branch was force-pushed since. Please just open a new PR from the same branch; it'll get a normal review and won't be closed on you. The notes above still apply (what's already on main, what I changed).
Pull request closed