projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mesa_7_5_branch'
[mesa.git]
/
src
/
gallium
/
auxiliary
/
rtasm
/
rtasm_x86sse.c
diff --git
a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
index 99ee74cf14bee4a414a9cd2819d2f497a6626c38..1acf3c373ebee1700b74463c834d1363a2098e3d 100644
(file)
--- a/
src/gallium/auxiliary/rtasm/rtasm_x86sse.c
+++ b/
src/gallium/auxiliary/rtasm/rtasm_x86sse.c
@@
-26,7
+26,7
@@
#if defined(PIPE_ARCH_X86)
#include "pipe/p_compiler.h"
#if defined(PIPE_ARCH_X86)
#include "pipe/p_compiler.h"
-#include "
pipe/p
_debug.h"
+#include "
util/u
_debug.h"
#include "util/u_pointer.h"
#include "rtasm_execmem.h"
#include "util/u_pointer.h"
#include "rtasm_execmem.h"
@@
-993,6
+993,15
@@
void sse_pmovmskb( struct x86_function *p,
emit_modrm(p, dst, src);
}
emit_modrm(p, dst, src);
}
+void sse_movmskps( struct x86_function *p,
+ struct x86_reg dst,
+ struct x86_reg src)
+{
+ DUMP_RR( dst, src );
+ emit_2ub(p, X86_TWOB, 0x50);
+ emit_modrm(p, dst, src);
+}
+
/***********************************************************************
* SSE2 instructions
*/
/***********************************************************************
* SSE2 instructions
*/