[Bug target/43440] Overwriting neon quad register does not clobber all included single registers

siarhei dot siamashka at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Mar 21 03:33:00 GMT 2010



------- Comment #5 from siarhei dot siamashka at gmail dot com  2010-03-21 03:33 -------
I don't quite understand what's the problem: "This patch has the unhappy side
effect of clobbering s0, s1 and s2 if s3 is used because that's the only way we
can indicate that q0 is clobbered by the write to s0."

The proper solution seems to be extremely simple to me and it should do exactly
the same what an application programmer would do to workaround the bug. Just
when initially parsing clobber list do a simple text substitution "q0" -> "d0",
"d1". Same for all the other "q" registers.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43440



More information about the Gcc-bugs mailing list