This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH #2], PR target/70640, Fix thinkos in PowerPC IEEE 128-bit floating point emulation


After I applied the fix for PR 70640, one the regression testers reported the
test as an error.  This system is a power7 system that does not have an
asembler that understands the power8/power9 instructions.  This means that
-mcpu=power8 will only generate power7 code.

The difference for this test is that on power7, it generates a vspltisw
instruciton to create a register with all 1's set, while on power8 it generates
xxlorc instead (vspltisw is restricted to the Altivec registers, while xxlorc
can target all VSX registers, so it is preferred for power8 code).

Since it was in a new test and obvious, I went ahead and commited the following
patch:

2016-04-14  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/70640
	* gcc.target/powerpc/pr70640.c: Fix test so it correctly works on
	a power7 system that does not have an assembler that supports
	power8.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797

Attachment: pr70640.patch02b
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]