diff options
author | jmg <jmg@FreeBSD.org> | 2013-02-19 21:35:17 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2013-02-19 21:35:17 +0000 |
commit | fa192d80dd36d15b97e60e3f59d9c0a37e8439d5 (patch) | |
tree | 01f357c0c9d87373e8f3b34763ea44d82fa08dca /contrib/binutils/gas | |
parent | 02fc4fbb903632c8afb5e2f7ccd7fbfed85f03e3 (diff) | |
download | FreeBSD-src-fa192d80dd36d15b97e60e3f59d9c0a37e8439d5.zip FreeBSD-src-fa192d80dd36d15b97e60e3f59d9c0a37e8439d5.tar.gz |
add support for AES and PCLMULQDQ instructions to binutils...
Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though
OpenBSD's gcc is very different that it only helped w/ where to modify,
not how... Thanks to jhb for some early reviews...
Reviewed by: imp, kib
MFC after: 1 month
Diffstat (limited to 'contrib/binutils/gas')
-rw-r--r-- | contrib/binutils/gas/config/tc-i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/gas/config/tc-i386.c b/contrib/binutils/gas/config/tc-i386.c index 9af47c5..5ba2ce2 100644 --- a/contrib/binutils/gas/config/tc-i386.c +++ b/contrib/binutils/gas/config/tc-i386.c @@ -3981,7 +3981,7 @@ output_insn (void) SSE4 instructions have 3 bytes. We may use one more higher byte to specify a prefix the instruction requires. Exclude instructions which are in both SSE4 and ABM. */ - if ((i.tm.cpu_flags & (CpuSSSE3 | CpuSSE4)) != 0 + if ((i.tm.cpu_flags & (CpuSSSE3 | CpuSSE4 | CpuAES | CpuPCLMUL)) != 0 && (i.tm.cpu_flags & CpuABM) == 0) { if (i.tm.base_opcode & 0xff000000) @@ -4033,7 +4033,7 @@ output_insn (void) } else { - if ((i.tm.cpu_flags & (CpuSSSE3 | CpuSSE4)) != 0 + if ((i.tm.cpu_flags & (CpuSSSE3 | CpuSSE4 | CpuAES | CpuPCLMUL)) != 0 && (i.tm.cpu_flags & CpuABM) == 0) { p = frag_more (3); |