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]

[AARCH64] Add missing entries in iterator vwcore


Hi,

In "aarch64_get_lane<mode>" operand 0 is VEL, so  for %<vwcore>0,
iterator vwcore should (?) support all the modes in VEL.

Ran into following error with a local patch for an existing test case.
However it can also be reproduced with the attached test case.

fnction âfn1â:
t.c:25:1: internal compiler error: output_operand: invalid %-code
 }
 ^
0x8198fb output_operand_lossage(char const*, ...)
	../../base/gcc/final.c:3417
0x81a45b output_asm_insn(char const*, rtx_def**)
	../../base/gcc/final.c:3782
0x81b9d3 output_asm_insn(char const*, rtx_def**)
	../../base/gcc/final.c:2364
0x81b9d3 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
	../../base/gcc/final.c:3029
0x81be2b final(rtx_insn*, _IO_FILE*, int)
	../../base/gcc/final.c:2058
0x81c6e7 rest_of_handle_final
	../../base/gcc/final.c:4449
0x81c6e7 execute
	../../base/gcc/final.c:4524


Attached patch fixes this. Bootstrapped and regression tested for
aarch64-none-linux-gnu with no new regression. Is this OK for trunk?

Thanks,
Kugan

gcc/ChangeLog:

2015-10-02  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* config/aarch64/iterators.md: Add missing core element mode for
	 mode.

gcc/testsuite/ChangeLog:

2015-10-02  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* gcc.target/aarch64/foo.c: New test.

Attachment: p.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]