common: fix gcc warning

Macro is already declared in intrin header file
This commit is contained in:
Gregory Hainaut 2015-08-16 14:04:30 +02:00
parent c32f1dfc23
commit 92dae56ff8
1 changed files with 3 additions and 0 deletions

View File

@ -39,7 +39,10 @@ using x86Emitter::xWrite64;
#define RexRB(w, reg, base) assert( !(w || (reg) >= 8 || (base)>=8) )
#define RexRXB(w, reg, index, base) assert( !(w || (reg) >= 8 || (index) >= 8 || (base) >= 8) )
// Recent GCC define the macro in x86intrin.h
#ifndef _MM_MK_INSERTPS_NDX
#define _MM_MK_INSERTPS_NDX(srcField, dstField, zeroMask) (((srcField)<<6) | ((dstField)<<4) | (zeroMask))
#endif
extern void ModRM( uint mod, uint reg, uint rm );
extern void SibSB( uint ss, uint index, uint base );