[Patch] PR rtl-optimization/87763 - generate more bfi instructions on aarch64

Steve Ellcey sellcey@marvell.com
Fri Jan 25 00:11:00 GMT 2019


Here is my attempt at creating a couple of new instructions to
generate more bfi instructions on aarch64.  I haven't finished
testing this but it helps with gcc.target/aarch64/combine_bfi_1.c.

Before I went any further with it I wanted to see if anyone
else was working on something like this and if this seems like
a reasonable approach.

Steve Ellcey
sellcey@marvell.com


2018-01-24  Steve Ellcey  <sellcey@marvell.com>

	PR rtl-optimization/87763
	* config/aarch64/aarch64-protos.h
	(aarch64_masks_and_shift_for_aarch64_bfi_p): New prototype.
	* config/aarch64/aarch64.c (aarch64_masks_and_shift_for_aarch64_bfi_p):
	New function.
	* config/aarch64/aarch64.md (*aarch64_bfi<GPI:mode>4_shift):
	New instruction.
	(*aarch64_bfi<GPI:mode>4_noshift): Ditto.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: combine.patch
Type: text/x-patch
Size: 4407 bytes
Desc: combine.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190125/ccde3dda/attachment.bin>


More information about the Gcc-patches mailing list