diff options
| author | Claude <noreply@anthropic.com> | 2026-11-27 18:30:50 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-27 18:30:50 +0000 |
| commit | 5acf0fa3fcae19eb06674ac0fc6a52712d408d5d (patch) | |
| tree | f57b5bc811c739f9f82e7b968254d9f7bff3719c /scripts/linux-boot/boot-inner.sh | |
| parent | 43a9d562d355e7c5c428e486071b456353de8b05 (diff) | |
scripts: the short form v_add_co_ci_u32 vD, src0, src1 reads src0 (SCRIPTS-SHORT-CO-CI-OPERANDS)
audit_shader4_regs.rbw_registers and vs_input_survey.read_before_write took every VOP `_co_` op with a scalar
second operand as vdst + carry-out. The assembler's short form v_add_co_ci_u32 vD, src0, src1 (also sub and subrev)
has VCC as its carry-out and carry-in and names neither, so its second operand is src0, a read: an SGPR there was
counted as written and dropped from the read-before-write sets. For audit_shader4_regs that hid exactly the s3 read
the audit looks for. The same fix #2357 makes in lane_masks, wave64_halves and writes_exec (wavehs's follow-up there).
Tests: test_short_form_carry_in_reads_s3_in_the_audit and test_short_form_carry_in_reads_its_scalar_src0 fail on
main (s3 missing from the read-before-write sets) and pass here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JPqXc6svM4pbBagTsVEYA3
Diffstat (limited to 'scripts/linux-boot/boot-inner.sh')
0 files changed, 0 insertions, 0 deletions