aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2013-02-21 19:13:19 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2013-02-21 19:13:19 +0000
commited7ce02c2c2420890d862493e83b33f9596b7d5d (patch)
tree7047d907dad0fa4900e967d18003d1c633eb0202 /contrib
parent593efaf9f7ff8b4a961e61f55c333e63ee36495c (diff)
downloadsrc-ed7ce02c2c2420890d862493e83b33f9596b7d5d.tar.gz
src-ed7ce02c2c2420890d862493e83b33f9596b7d5d.zip
reorder so all the flags are together and make the PCLMUL flag unique..
This fixes the problem on amd64 miscompiling mpboot.s causing boot issues... We are still using gas for a few files in the kernel... Submitted by: kib MFC after: 1 month
Notes
Notes: svn path=/head/; revision=247117
Diffstat (limited to 'contrib')
-rw-r--r--contrib/binutils/opcodes/i386-opc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/binutils/opcodes/i386-opc.h b/contrib/binutils/opcodes/i386-opc.h
index 45589d8b3553..27c1dab2aaea 100644
--- a/contrib/binutils/opcodes/i386-opc.h
+++ b/contrib/binutils/opcodes/i386-opc.h
@@ -73,15 +73,16 @@ typedef struct template
#define CpuSSE4_2 0x800000 /* SSE4.2 Instructions required */
#define CpuXSAVE 0x1000000 /* XSAVE Instructions required */
#define CpuAES 0x2000000 /* AES Instructions required */
-#define CpuPCLMUL 0x4000000 /* Carry-less Multiplication extensions */
-
-/* SSE4.1/4.2 Instructions required */
-#define CpuSSE4 (CpuSSE4_1|CpuSSE4_2)
/* These flags are set by gas depending on the flag_code. */
#define Cpu64 0x4000000 /* 64bit support required */
#define CpuNo64 0x8000000 /* Not supported in the 64bit mode */
+#define CpuPCLMUL 0x10000000 /* Carry-less Multiplication extensions */
+
+/* SSE4.1/4.2 Instructions required */
+#define CpuSSE4 (CpuSSE4_1|CpuSSE4_2)
+
/* The default value for unknown CPUs - enable all features to avoid problems. */
#define CpuUnknownFlags (Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686 \
|CpuP4|CpuSledgehammer|CpuMMX|CpuMMX2|CpuSSE|CpuSSE2|CpuSSE3|CpuVMX \