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] |
Hi all, This patch implements the trap pattern for the AARCH64 back-end. I used the "brk #0" instruction as that is the breakpoint instruction that GDB uses. I looked at what other targets did when the instruction set did not have a trap instruction and found that using the breakpoint instruction was a common theme between them if there was not explicit defined undefined instruction to use. OK? Build and tested on aarch64-elf with no regressions. Also built a full aarch64-linux-gnu toolchain including glibc. Thanks, Andrew Pinski ChangeLog: * config/aarch64/aarch64.md (trap): New pattern.
Attachment:
fixbuiltintrap.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |