[PATCH][AARCH64] Refactor constant generation
Sofiane Naci
sofiane.naci@arm.com
Mon Nov 26 16:50:00 GMT 2012
Hi,
Constant building in the AArch64 backend spits out assembly code, which
affects scheduling of the generated code.
This patch rewrites the code to use RTL patterns.
A full aarch64-none-elf regression run shows no issues.
Thanks
Sofiane
-----
ChangeLog:
2012-11-26 Sofiane Naci <sofiane.naci@arm.com>
* config/aarch64/aarch64.c (aarch64_build_constant): Update
prototype.
Call emit_move_insn instead of printing movi/movn/movz
instructions.
Call gen_insv_immdi instead of printing movk instruction.
(aarch64_add_constant): Update prototype.
Generate RTL instead of priting add/sub instructions.
(aarch64_output_mi_thunk): Update calls to aarch64_build_constant
and aarch64_add_constant.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-refactor-const-gen.patch
Type: application/octet-stream
Size: 4041 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121126/c9299f43/attachment.obj>
More information about the Gcc-patches
mailing list