diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2015-10-17 23:38:17 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-10-23 10:47:24 +0200 |
| commit | 13ded7507b895f470f94dbc267c5e6409a96eaf8 (patch) | |
| tree | 9954baa7c7a1c228d6e0a1a1c64f9c8a3274a6e7 /miasm2/arch/x86/sem.py | |
| parent | 2c9d66d7b80bbe59ebc0870bdbf703b6f0b4911c (diff) | |
| download | miasm-13ded7507b895f470f94dbc267c5e6409a96eaf8.tar.gz miasm-13ded7507b895f470f94dbc267c5e6409a96eaf8.zip | |
Arch/x86/sem: add movdqa
Diffstat (limited to 'miasm2/arch/x86/sem.py')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 7bf0237b..93852a8e 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -3094,13 +3094,8 @@ def movd(ir, instr, a, b): return e, [] def movdqu(ir, instr, a, b): - e = [] - if isinstance(a, m2_expr.ExprMem): - a = m2_expr.ExprMem(a.arg, b.size) - elif isinstance(b, m2_expr.ExprMem): - b = m2_expr.ExprMem(b.arg, a.size) - e.append(m2_expr.ExprAff(a, b)) - return e, [] + # XXX TODO alignement check + return [m2_expr.ExprAff(a, b)], [] def xorps(ir, instr, a, b): @@ -3537,6 +3532,7 @@ mnemo_func = {'mov': mov, "str": l_str, "movd": movd, "movdqu":movdqu, + "movdqa":movdqu, "movaps": movaps, "xorps": xorps, "xorpd": xorps, |