summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2013-02-21 19:13:19 +0000
committerjmg <jmg@FreeBSD.org>2013-02-21 19:13:19 +0000
commit68f5a186f2bf13347772631665e92cdd40c2bf6d (patch)
tree7047d907dad0fa4900e967d18003d1c633eb0202 /contrib/binutils
parentca1e2e0739fbad3590a92aca668f4659d9e48b52 (diff)
downloadFreeBSD-src-68f5a186f2bf13347772631665e92cdd40c2bf6d.zip
FreeBSD-src-68f5a186f2bf13347772631665e92cdd40c2bf6d.tar.gz
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
Diffstat (limited to 'contrib/binutils')
-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 45589d8..27c1dab 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 \
OpenPOWER on IntegriCloud