Should -msse3 enable fisttp?
Uros Bizjak
uros.bizjak@kss-loka.si
Tue Oct 4 09:20:00 GMT 2005
Quoting Uros Bizjak <uros@kss-loka.si>:
> Following simple patch should implement your suggested approach:
>
> -march=prescott enables fisttp
> -msse3 enables fisttp
> -march=prescott -mno-sse3 enables fisttp
>
> Otherwise fisttp is disabled.
This one also works for -mno-80387 and simplifies insn pattern constraints a bit:
2005-10-05 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.h (TARGET_FISTTP): Enable also for
TARGET_SSE3 and only for TARGET_80387.
* config/i386/i386.md (fix_trunc<mode>_fisttp_i387_1,
(fix_trunc<mode>_i387_fisttp, fix_trunc<mode>_i387_fisttp_with_temp):
Do not depend on TARGET_80387.
Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fisttp_2.diff
Type: application/octet-stream
Size: 2687 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20051004/31c8799e/attachment.obj>
More information about the Gcc
mailing list