[Bug tree-optimization/93893] MIPS32r2: GCC is unable to figure out that it can use a single INS instruction instead of SLL+OR
paul.hua.gm at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 3 09:39:25 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93893
Paul Hua <paul.hua.gm at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.hua.gm at gmail dot com
--- Comment #2 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> Mine for GCC 11.
> I have a patch which fixes this but won't be included until GCC 11:
> transpose_c:
> .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
> .mask 0x00000000,0
> .fmask 0x00000000,0
> .set noreorder
> .set nomacro
> lw $2,0($4)
> lw $3,0($5)
> ins $3,$2,16,16
> jr $31
> sw $3,0($6)
Hi Andrew, can you send the patch to gcc-patches mail list or add to
attachment.
More information about the Gcc-bugs
mailing list