This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This patch adds the ability to spot and exploit the UBFX instruction (bit-field extract) to perform AND operations with an immediate which is 2^N - 1. On some benchmarks this can lead to a significant win over the existing behaviour on Cortex-A15. Tested on arm-eabi with some additional testing on arm-linux-gnueabi platforms. R. 2012-08-02 Richard Earnshaw <rearnsha@arm.com> * arm.c (arm_gen_constant): Use UBFX for some AND operations when available.
Attachment:
bfield.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |