about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-01-09 10:07:55 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-01-09 10:12:08 +0100
commitbb4419e917e4ccee1fa9cb599014a35269a9f567 (patch)
tree65498c17fe7caa8c88be42a930dfd3612a2651e0
parent43b3962dd0dd7ce791cf28be78a44956bada8b76 (diff)
downloadmiasm-bb4419e917e4ccee1fa9cb599014a35269a9f567.tar.gz
miasm-bb4419e917e4ccee1fa9cb599014a35269a9f567.zip
Fix xorps semantic
-rw-r--r--miasm2/arch/x86/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index 232b758f..22e8c276 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2884,7 +2884,7 @@ def xorps(ir, instr, a, b):
     e = []
     if isinstance(b, ExprMem):
         b = ExprMem(b.arg, a.size)
-    e.append(ExprAff(a, ExprOp('xorps', a, b)))
+    e.append(ExprAff(a, ExprOp('^', a, b)))
     return e, []
 
 ### MMX/SSE/AVX operations