[llvm-commits] [dragonegg] r131723 - /dragonegg/trunk/src/x86/x86_builtins
Duncan Sands
baldrick at free.fr
Fri May 20 01:18:28 PDT 2011
Author: baldrick
Date: Fri May 20 03:18:28 2011
New Revision: 131723
URL: http://llvm.org/viewvc/llvm-project?rev=131723&view=rev
Log:
Add a cheat-sheet for intel suffixes.
Modified:
dragonegg/trunk/src/x86/x86_builtins
Modified: dragonegg/trunk/src/x86/x86_builtins
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/x86/x86_builtins?rev=131723&r1=131722&r2=131723&view=diff
==============================================================================
--- dragonegg/trunk/src/x86/x86_builtins (original)
+++ dragonegg/trunk/src/x86/x86_builtins Fri May 20 03:18:28 2011
@@ -1,4 +1,18 @@
// Unsupported builtins are commented out.
+
+// Quick guide to suffixes:
+// NB: word = 16 bits; double word = 32 bits; quad word = 64 bits
+// dq - double quadword - <16 x i8>, <8 x i16>, <4 x i32>, <2 x i64>
+// dq256 - 256 bit double quadword - <32 x i8>, <16 x i16>, <8 x i32>, <4 x i64>
+// i - doubleword integer - i32
+// pd - packed double precision floating point - <2 x double>
+// pd256 - 256 bit packed double precision floating point - <4 x double>
+// ps - packed single precision floating point - <4 x float>
+// ps256 - 256 bit packed single precision floating point - <4 x float>
+// q - quadword - <8 x i8>, <4 x i16>, <2 x i32>
+// sd - scalar double-precision floating point - double
+// ss - scalar single-precision floating point - float
+
DEFINE_BUILTIN(addpd),
DEFINE_BUILTIN(addpd256),
DEFINE_BUILTIN(addps),
More information about the llvm-commits
mailing list