about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2015-01-09 10:15:11 +0100
committerCamille Mougey <commial@gmail.com>2015-01-09 10:15:11 +0100
commit0d6454f6b507c3c05c45507ffb56ac9f12eca536 (patch)
tree65498c17fe7caa8c88be42a930dfd3612a2651e0
parent43b3962dd0dd7ce791cf28be78a44956bada8b76 (diff)
parentbb4419e917e4ccee1fa9cb599014a35269a9f567 (diff)
downloadmiasm-0d6454f6b507c3c05c45507ffb56ac9f12eca536.tar.gz
miasm-0d6454f6b507c3c05c45507ffb56ac9f12eca536.zip
Merge pull request #31 from serpilliere/fix_xorps
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