[Bug target/115931] New: mips: vec_pack_usat_m's pattern is wrong at gcc/config/mips/loongson-mmi.md:167
lin1.hu at intel dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 15 03:27:19 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115931
Bug ID: 115931
Summary: mips: vec_pack_usat_m's pattern is wrong at
gcc/config/mips/loongson-mmi.md:167
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: lin1.hu at intel dot com
Target Milestone: ---
If I understand correctly. mips's packuswh(vec_pack_usat_<mode>) means convert
signed integer to unsigned integer with unsigned saturation. But gcc's
us_saturate means unsigned integer convert unsigned integer with unsigned
saturation. So the pattern should use UNSPEC.
More information about the Gcc-bugs
mailing list