[AArch64] Fix categorisation of the frecp* insns.
James Greenhalgh
james.greenhalgh@arm.com
Tue Sep 3 11:30:00 GMT 2013
Hi,
It looks like the frecp instructions got miscategorised as TARGET_FLOAT
instructions when they are in fact TARGET_SIMD instructions.
Move them to the right file, give them a simd_type, drop their "type"
and "v8type" and clean up the useless types from aarch64.md.
Also, where possible merge patterns.
Tested on aarch64-none-elf with no regression.
Thanks,
James
---
2013-09-03 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.md
(type): Remove frecpe, frecps, frecpx.
(aarch64_frecp<FRECP:frecp_suffix><mode>): Move to aarch64-simd.md,
fix to be a TARGET_SIMD instruction.
(aarch64_frecps): Remove.
* config/aarch64/aarch64-simd.md
(aarch64_frecp<FRECP:frecp_suffix><mode>): New, moved from aarch64.md
(aarch64_frecps<mode>): Handle all float/vector of float modes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AArch64-Fix-categorisation-of-the-frecp-insns.patch
Type: text/x-patch
Size: 2743 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130903/6e208163/attachment.bin>
More information about the Gcc-patches
mailing list