This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Asm: Support for SVE condition code aliases
ClosedPublic

Authored by sdesmalen on Jul 3 2018, 2:35 AM.

Details

Summary

SVE overloads the AArch64 PSTATE condition flags and introduces
a set of condition code aliases for the assembler. The
details are described in section 2.2 of the architecture
reference manual supplement for SVE.

In short:

SVE alias =>  AArch64 name
--------------------------
NONE      => EQ
ANY       => NE
NLAST     => HS
LAST      => LO
FIRST     => MI
NFRST     => PL
PMORE     => HI
PLAST     => LS
TCONT     => GE
TSTOP     => LT

Diff Detail

Repository
rL LLVM

Event Timeline

sdesmalen created this revision.Jul 3 2018, 2:35 AM
sdesmalen added inline comments.Jul 3 2018, 2:38 AM
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
2506 ↗(On Diff #153884)

I just realise there is an unnecessary whitespace change here that someone will surely comment on :) I'll remove that before committing.

fhahn accepted this revision.Jul 3 2018, 4:18 AM

LGTM, thanks

This revision is now accepted and ready to land.Jul 3 2018, 4:18 AM
This revision was automatically updated to reflect the committed changes.