[llvm-commits] [PATCH][MC] VIA PadLock support

Joerg Sonnenberger joerg at britannica.bec.de
Wed Mar 23 13:55:36 PDT 2011


Hi all,
attached patch adds the various crypto functions of the VIA PadLock
extension. Due to the additional prefixes, this is a bit messy. On the
positive side, it cleans up a few of the hard-coded constants to be less
redundant.

This differs from GAS in one important aspect: I'm not asserting that
the instructions are used with the REP prefix. GAS seems to alias them
to the form with rep prefix if it not present. Not sure if that should
be supported or if it can be asserted.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: padlock.diff
Type: text/x-diff
Size: 20124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110323/2b68d8aa/attachment.diff>


More information about the llvm-commits mailing list