diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2015-10-19 21:05:42 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-10-23 10:53:51 +0200 |
| commit | 09baf835bd20c6db97724d08411b23389af3860a (patch) | |
| tree | 096a047ee4c21bb18d7ab579f265c625ccf99067 /miasm2/arch/x86/sem.py | |
| parent | beea5121ef2e9d0df7edfa49cb8aae2ffd9836a9 (diff) | |
| download | miasm-09baf835bd20c6db97724d08411b23389af3860a.tar.gz miasm-09baf835bd20c6db97724d08411b23389af3860a.zip | |
Arch/x86/sem: add mov[ua][pspd]
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 3a46a251..2e7eac6b 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -3228,6 +3228,11 @@ def movdqu(ir, instr, a, b): return [m2_expr.ExprAff(a, b)], [] +def movapd(ir, instr, a, b): + # XXX TODO alignement check + return [m2_expr.ExprAff(a, b)], [] + + def xorps(ir, instr, a, b): e = [] if isinstance(b, m2_expr.ExprMem): @@ -3370,7 +3375,6 @@ def pand(ir, instr, a, b): e.append(m2_expr.ExprAff(a, c)) return e, [] -def movaps(ir, instr, a, b): e = [] if isinstance(a, m2_expr.ExprMem): a = m2_expr.ExprMem(a.arg, b.size) @@ -3828,7 +3832,10 @@ mnemo_func = {'mov': mov, "movd": movd, "movdqu":movdqu, "movdqa":movdqu, - "movaps": movaps, + "movapd": movapd, # XXX TODO alignement check + "movupd": movapd, # XXX TODO alignement check + "movaps": movapd, # XXX TODO alignement check + "movups": movapd, # XXX TODO alignement check "xorps": xorps, "xorpd": xorps, |