[PATCH][AArch64][1/5] Implement TARGET_SCHED_MACRO_FUSION_PAIR_P

Kyrill Tkachov kyrylo.tkachov@arm.com
Tue Nov 18 10:34:00 GMT 2014


Hi all,

This is another iteration of this patch posted earlier with a bug fixed 
pointed out by Andrew
It implements the target hooks for macro fusion and implements fusion of 
MOV+MOVK instructions
and enables them for cores that support these fusions.
Bootstrapped and tested aarch64-none-elf.

Ok for trunk?

Thanks,
Kyrill

2014-11-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/aarch64/aarch64-protos.h (struct tune_params): Add
     fuseable_ops field.
     * config/aarch64/aarch64.c (generic_tunings): Specify fuseable_ops.
     (cortexa53_tunings): Likewise.
     (cortexa57_tunings): Likewise.
     (thunderx_tunings): Likewise.
     (aarch64_macro_fusion_p): New function.
     (aarch_macro_fusion_pair_p): Likewise.
     (TARGET_SCHED_MACRO_FUSION_P): Define.
     (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
     (AARCH64_FUSE_MOV_MOVK): Likewise.
     (AARCH64_FUSE_NOTHING): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-macro-fusion.patch
Type: text/x-patch
Size: 5441 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141118/1f8418ce/attachment.bin>


More information about the Gcc-patches mailing list