Commit 0f89b9e2 authored by gmainland's avatar gmainland Committed by gmainlan@microsoft.com
Browse files

Enable passing vector arguments in xmm registers on x86-32.

Note that this will only work with the LLVM back end pending LLVM patches to
change the GHC calling convention appropriately.
parent e02c5067
......@@ -103,11 +103,16 @@
# define REG_Hp edi
#endif
#define REG_XMM1 xmm0
#define REG_XMM2 xmm1
#define REG_XMM3 xmm2
#define REG_XMM4 xmm3
#define MAX_REAL_VANILLA_REG 1 /* always, since it defines the entry conv */
#define MAX_REAL_FLOAT_REG 0
#define MAX_REAL_DOUBLE_REG 0
#define MAX_REAL_LONG_REG 0
#define MAX_REAL_XMM_REG 0
#define MAX_REAL_XMM_REG 4
/* -----------------------------------------------------------------------------
The x86-64 register mapping
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment