[cfe-commits] r57098 - /cfe/trunk/include/clang/AST/X86Builtins.def
Daniel Dunbar
daniel at zuster.org
Sat Oct 4 22:14:38 PDT 2008
Author: ddunbar
Date: Sun Oct 5 00:14:37 2008
New Revision: 57098
URL: http://llvm.org/viewvc/llvm-project?rev=57098&view=rev
Log:
Fix some X86 builtin definitions.
- cmp instructions return int
- storedqu had bad const qualifier
- pmuldq128 used invalid type code
Modified:
cfe/trunk/include/clang/AST/X86Builtins.def
Modified: cfe/trunk/include/clang/AST/X86Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/X86Builtins.def?rev=57098&r1=57097&r2=57098&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/X86Builtins.def (original)
+++ cfe/trunk/include/clang/AST/X86Builtins.def Sun Oct 5 00:14:37 2008
@@ -57,28 +57,28 @@
BUILTIN(__builtin_ia32_subss, "V4fV4fV4f", "")
BUILTIN(__builtin_ia32_mulss, "V4fV4fV4f", "")
BUILTIN(__builtin_ia32_divss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpeqps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpltps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpleps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpgtps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpgeps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpunordps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpneqps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpnltps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpnleps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpngtps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpngeps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpordps, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpeqss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpltss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpless, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpunordss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpneqss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpnltss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpnless, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpngtss, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpngess, "V4fV4fV4f", "")
-BUILTIN(__builtin_ia32_cmpordss, "V4fV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpeqps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpltps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpleps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpgtps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpgeps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpunordps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpneqps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpnltps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpnleps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpngtps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpngeps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpordps, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpeqss, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpltss, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpless, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpunordss, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpneqss, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpnltss, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpnless, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpngtss, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpngess, "V4iV4fV4f", "")
+BUILTIN(__builtin_ia32_cmpordss, "V4iV4fV4f", "")
BUILTIN(__builtin_ia32_minps, "V4fV4fV4f", "")
BUILTIN(__builtin_ia32_maxps, "V4fV4fV4f", "")
BUILTIN(__builtin_ia32_minss, "V4fV4fV4f", "")
@@ -141,26 +141,26 @@
BUILTIN(__builtin_ia32_subsd, "V2dV2dV2d", "")
BUILTIN(__builtin_ia32_mulsd, "V2dV2dV2d", "")
BUILTIN(__builtin_ia32_divsd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpeqpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpltpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmplepd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpgtpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpgepd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpunordpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpneqpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpnltpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpnlepd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpngtpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpngepd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpordpd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpeqsd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpltsd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmplesd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpunordsd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpneqsd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpnltsd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpnlesd, "V2dV2dV2d", "")
-BUILTIN(__builtin_ia32_cmpordsd, "V2dV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpeqpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpltpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmplepd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpgtpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpgepd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpunordpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpneqpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpnltpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpnlepd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpngtpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpngepd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpordpd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpeqsd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpltsd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmplesd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpunordsd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpneqsd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpnltsd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpnlesd, "V4iV2dV2d", "")
+BUILTIN(__builtin_ia32_cmpordsd, "V4iV2dV2d", "")
BUILTIN(__builtin_ia32_minpd, "V2dV2dV2d", "")
BUILTIN(__builtin_ia32_maxpd, "V2dV2dV2d", "")
BUILTIN(__builtin_ia32_minsd, "V2dV2dV2d", "")
@@ -303,9 +303,9 @@
BUILTIN(__builtin_ia32_pf2id, "V2iV2f", "")
BUILTIN(__builtin_ia32_pfacc, "V2fV2fV2f", "")
BUILTIN(__builtin_ia32_pfadd, "V2fV2fV2f", "")
-BUILTIN(__builtin_ia32_pfcmpeq, "V2fV2fV2f", "")
-BUILTIN(__builtin_ia32_pfcmpge, "V2fV2fV2f", "")
-BUILTIN(__builtin_ia32_pfcmpgt, "V2fV2fV2f", "")
+BUILTIN(__builtin_ia32_pfcmpeq, "V2iV2fV2f", "")
+BUILTIN(__builtin_ia32_pfcmpge, "V2iV2fV2f", "")
+BUILTIN(__builtin_ia32_pfcmpgt, "V2iV2fV2f", "")
BUILTIN(__builtin_ia32_pfmax, "V2fV2fV2f", "")
BUILTIN(__builtin_ia32_pfmin, "V2fV2fV2f", "")
BUILTIN(__builtin_ia32_pfmul, "V2fV2fV2f", "")
@@ -364,7 +364,7 @@
BUILTIN(__builtin_ia32_lfence, "v", "")
BUILTIN(__builtin_ia32_mfence, "v", "")
BUILTIN(__builtin_ia32_loaddqu, "V16ccC*", "")
-BUILTIN(__builtin_ia32_storedqu, "vc*CV16c", "")
+BUILTIN(__builtin_ia32_storedqu, "vc*V16c", "")
BUILTIN(__builtin_ia32_psllwi, "V4sV4si", "")
BUILTIN(__builtin_ia32_pslldi, "V2iV2ii", "")
BUILTIN(__builtin_ia32_psllqi, "V1LLiV1LLii", "")
@@ -444,7 +444,7 @@
BUILTIN(__builtin_ia32_pmovzxdq128, "V2LLiV4i", "")
BUILTIN(__builtin_ia32_pmovzxwd128, "V4iV8s", "")
BUILTIN(__builtin_ia32_pmovzxwq128, "V2LLiV8s", "")
-BUILTIN(__builtin_ia32_pmuldq128, "V2LLV4iV4i", "")
+BUILTIN(__builtin_ia32_pmuldq128, "V2LLiV4iV4i", "")
BUILTIN(__builtin_ia32_pmulld128, "V4iV4iV4i", "")
BUILTIN(__builtin_ia32_roundps, "V4fV4fi", "")
BUILTIN(__builtin_ia32_roundss, "V4fV4fi", "")
More information about the cfe-commits
mailing list