On 8/11/24 4:43 AM, pan2...@intel.com wrote:

+static rtx
+riscv_gen_zero_extend_rtx (rtx x, machine_mode mode)
+{
+  if (mode != HImode && mode != QImode)
+    return gen_lowpart (Xmode, x);
Isn't this wrong for SImode on rv64? It seems to me the right test is mode != word_mode?


Assuming that works, it's OK for the trunk.

jeff

Reply via email to