A bitwise op or an exchange on a 64-bit element leaves the same memory
as one 32-bit atomic per dword, so these four need no Int64 atomics.
With glc the old pair comes back in vdata; it is two reads and can be
torn by a concurrent 64-bit op on the same element. The bounds check
covers the whole 8-byte element, as for a typed 32_32 element (partly
in-range behaviour is not measured). add/sub/min/max_x2 and cmpswap_x2
stay Unsupported.
tests/semantic/test_buffer_atomics_x2.py runs them in the interpreter.
docs/design.md row added.
Sampling an integer image through a float view makes D16 convert the wrong numeric values. Compute the quad derivatives before branching to the matching view so implicit minification still chooses the correct level.
A bitwise op or an exchange on a 64-bit element leaves the same memory
as one 32-bit atomic per dword, so these four _x2 forms need no Int64
atomics. With glc the old pair goes to vdst[0:1]; it is two reads and
can be torn by a concurrent 64-bit op on the same element. add/sub/
min/max_x2 and cmpswap_x2 stay Unsupported.
tests/semantic/test_global_atomics_x2.py runs them in the interpreter.
docs/design.md row updated.
psin_names.py walks PSIN instance data with psin_data.py and looks up every
u32 hash member (joaat of the lower-cased name) and u64 hash member
(MurmurHash3 x64 low 64 bits) in a dictionary from rpf9_names.py or name
lists, with a salted control. docs/psin.md no longer says PSIN has no model
names. Synthetic tests only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every global atomic was rejected. The address part of global_mem moves
to global_address, and global_atomic uses it: one OpAtomic* on the
PhysicalStorageBuffer dword (device scope), guarded so inactive lanes
don't touch memory; with glc the old value goes to vdst (the first
operand), cmpswap takes vdata as {DATA, CMP}. The first-read analysis
reads operand 0 as the address when there is no glc. _x2, inc/dec, the
float atomics and slc/dlc stay Unsupported.
tests/semantic/test_global_atomics.py runs them in the interpreter.
docs/design.md row added.
The epilogue killed by EXEC at the end of the program, so an EXEC write
after the `exp ... vm` changed which pixels survive. Keep EXEC at that
export, only where a path can write EXEC afterwards: other programs
translate to the same text as before.
The rule is from the RDNA2 ISA reference guide (30-November-2020),
11.1 and 11.2.1. Not measured on hardware.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d3d12_command_objects.md 3.5a: slot 67 is DeserializeComputePipelineStateX
with its full desc (kind 0, 1, 6, 7 pointer/size pairs), and the open
"what FSPX holds" line now points at fspx.md (13 of 29 translate).
d3d12_vulkan.md A.3: the same name, and the throw: before #965 it carried
an image base of 0; with #965 it carries the DLL's base and still reaches
the caller (fsr_dispatch_test, LEONIDA_FSR_NO_STANDIN=1).
The directory as the DLL's reader (RVA 0x1a20) and pipeline function
(RVA 0x4aa0) use it, with device slot 67's descriptor; kind 0 field by
field, each with how far it was checked (thread-group size measured
against PSV0 in 29/29; wave size, RSRC1 and RSRC2 inferred from the code);
the 36-byte prologue carrying kind 7's hash (29/29); why --mcpu gfx1030;
the 89 VOP3P words llvm-mc rejects; and the per-program translation
status: 13 of 29 translate and pass spirv-val, the 13 that use dot4 do not.
AMD clang rejects .amdhsa_ieee_mode and .amdhsa_dx10_clamp on gfx1170+
(GFX11.7 and GFX12, where the behaviour is fixed). A kernel asking for
either reached the assembler, and when a chunk held only such kernels the
run died with 'the assembler rejected every program in a chunk'.
asm.mode_skip_reason names the field and the architecture; Oracle.run
returns that reason for those kernels and never assembles them, so the
others still run and the MODE probes fail with a clear message. The
denormal and rounding fields are unaffected.
tests/test_hw_oracle.py covers the reason per architecture, a mixed run
and a run where every kernel is skipped. docs/shader_validation.md notes
it.
Conflicts in d3d12_com.cpp and d3d12_vulkan_device_test.cpp: both sides kept.
d3d12_debug_markers_test recorded two lists into one allocator at once, which
this branch rejects as the PC runtime does; its second list now has its own
allocator. The device-removed wording in the docs and the test matches main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each 64-bit element is exchanged one dword at a time with a 32-bit
OpAtomicExchange: both dwords take DATA, so the memory ends as a 64-bit
exchange leaves it, without Int64 atomics on Workgroup memory. The
returned pair is two reads and can be torn by a concurrent 64-bit op on
the same element. The 2 forms address their elements as ds_write2_b64
does (offset * 8, x64 for st64); every exchange runs before vdst is
written.
tests/semantic/test_lds_wrxchg_b64.py runs them in the interpreter.
docs/design.md row added.