Skip to content

freedreno/isa: Fix isaspec map for a3xx-ld

Karmjit Mahil requested to merge (removed):dev/Fix_cat6_offset_isaspec_map into main

When LDP uses a negative offset (which it valid), since struct ir3_register uses {i,u}nt32_t for the immediate values, using extract_reg_uim() wasn't sign extending negative immediate values.

Addresses:

src/freedreno/isa/encode.h:84: pack_field: Assertion '!(( val & ~BITFIELD64_MASK(1 + high - low)) && (~val & ~BITFIELD64_MASK(1 + high - low)))' failed.

seen in #11153 (closed) .

Edited by Karmjit Mahil

Merge request reports

Loading