[AARCH64] Refactor constant generation.
authorSofiane Naci <sofiane.naci@arm.com>
Mon, 3 Dec 2012 11:13:41 +0000 (11:13 +0000)
committerSofiane Naci <sofiane@gcc.gnu.org>
Mon, 3 Dec 2012 11:13:41 +0000 (11:13 +0000)
commitd9600ae5a32a0c136bdada6cbdd4d4209a63abf8
tree77499767c6d2e15aef8f7a3fe2c4bac8fa3b7250
parent6ff11db28bc9e785ae4e8cb13916b692adf3acbe
[AARCH64] Refactor constant generation.

2012-12-03  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 printing add/sub instructions.
(aarch64_output_mi_thunk): Update calls to aarch64_build_constant
and aarch64_add_constant.

From-SVN: r194080
gcc/ChangeLog
gcc/config/aarch64/aarch64.c