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: Enable TFmode for x86


On Wed, Jul 2, 2008 at 11:23 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> H.J. Lu wrote:
>>
>> On Sun, Jun 29, 2008 at 10:36:40AM -0700, H.J. Lu wrote:
>>
>>>
>>> I am enclosing 3 patches to enable TFmode for x86:
>>>
>>> 1. gcc-float128-3.patch. Support TFmode in x86 backend.
>>> 2. gcc-quad-1.patch. Add x86 support to soft-fp.
>>> 3. gcc-quadtest-2.patch. Enable __float80/__float128 tests for
>>> x86.
>>>
>>>
>>
>> Here is the updated patch for testcases with simplified targets.
>> OK for trunk?
>>
>> Thanks.
>>
>>
>> H.J.
>> ----
>> 2008-06-29  H.J. Lu  <hongjiu.lu@intel.com>
>>
>>        * g++.dg/abi/mangle24.C: Remove -mmmx.
>>        * gcc.dg/const-float80-ped.c: Likewise.
>>        * gcc.dg/const-float80.c: Likewise.
>>        * gcc.dg/torture/fp-int-convert-float80.c: Likewise.
>>
>>        * g++.dg/abi/mangle25.C: Enable x86.
>>        * gcc.dg/const-float128-ped.c: Likewise.
>>        * gcc.dg/const-float128.c: Likewise.
>>        * gcc.dg/torture/fp-int-convert-float128.c: Likewise.
>>        * gcc.target/i386/pr32268.c: Likewise.
>>
>
> You can also remove lp64 requirement for gcc.target/i386/pr32191. This one
> works in TCmode.
>
> The patch is OK for mainline, now that TFmode is fully supported on x86_32.
> Great work, H.J.!
>
>> --- gcc/testsuite/gcc.target/i386/pr32268.c.quadtest    2008-02-17
>> 07:27:09.000000000 -0800
>> +++ gcc/testsuite/gcc.target/i386/pr32268.c     2008-06-29
>> 17:16:10.000000000 -0700
>> @@ -1,5 +1,4 @@
>>  /* { dg-do run { target *-*-linux* } } */
>>
>
> I think that this can also run on darwin.
>>
>> -/* { dg-require-effective-target lp64 } */
>>  /* { dg-options "-O2" } */
>>   extern void abort(void);
>>
>

This is the patch I am checking in. I will let Darwin people enable
it. My last 64bit __float128 libgcc change doesn't work on Darwin:

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

A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00127.html

Thanks.

-- 
H.J.
---
2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/abi/mangle24.C: Remove -mmmx.
	* gcc.dg/const-float80-ped.c: Likewise.
	* gcc.dg/const-float80.c: Likewise.
	* gcc.dg/torture/fp-int-convert-float80.c: Likewise.

	* g++.dg/abi/mangle25.C: Enable x86.
	* gcc.dg/const-float128-ped.c: Likewise.
	* gcc.dg/const-float128.c: Likewise.
	* gcc.dg/torture/fp-int-convert-float128.c: Likewise.
	* gcc.target/i386/pr32191.c: Likewise.
	* gcc.target/i386/pr32268.c: Likewise.

Attachment: gcc-quadtest-4.patch
Description: Binary data


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