[Bug target/105782] [sparc64] Emission of questionable movxtod/movdtox with -mvis3

koachan+gccbugs at protonmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 8 14:01:27 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105782

--- Comment #4 from Koakuma <koachan+gccbugs at protonmail dot com> ---
(In reply to Eric Botcazou from comment #3)
> I guess that, under high register pressure, the register allocator rather
> uses floating-point registers than spllling values on the stack.

I suppose so?
However, I found that when compiling the source from the previous comment with
-mvis3, it emits over 1400 movXtoY instructions, resulting in 1300-ish extra
instructions compared to the version without VIS 3, which seem to be quite
weird to me.


More information about the Gcc-bugs mailing list