Page MenuHomePhabricator

[AArch64] Don't constrain the assembler when using -mgeneral-regs-only
AcceptedPublic

Authored by sbaranga on Nov 18 2016, 8:03 AM.

Details

Summary

We use the neonasm, cryptoasm, fp-armv8asm and fullfp16asm features
to enable the assembling of instructions that were disabled when
disabling neon, crypto, and fp-armv8 features.

This makes the -mgeneral-regs-only behaviour compatible with gcc.

Fixes https://llvm.org/bugs/show_bug.cgi?id=30792

Event Timeline

sbaranga updated this revision to Diff 78530.Nov 18 2016, 8:03 AM
sbaranga retitled this revision from to [AArch64] Don't constrain the assembler when using -mgeneral-regs-only.
sbaranga updated this object.
sbaranga added a subscriber: cfe-commits.
sbaranga updated this revision to Diff 78541.Nov 18 2016, 9:13 AM

Update regression tests.

jmolloy accepted this revision.Nov 21 2016, 12:58 AM
jmolloy edited edge metadata.

It's a bit awkward that you need to copy the LastOpt loop from below, but I can't see a simpler way to do this.

LGTM.

This revision is now accepted and ready to land.Nov 21 2016, 12:58 AM