about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/arch.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2018-11-27 16:19:01 +0100
committerGitHub <noreply@github.com>2018-11-27 16:19:01 +0100
commitb3104648122b721f00a3e7fc88a26c6212f1e17c (patch)
treea2fe77f4f6660a7281482884c981272df79b0bc6 /miasm2/arch/x86/arch.py
parent9f298f8ce47e03b1e8fc5c3be38303b952dc794b (diff)
parent4ba82daa20de3035bfed59d8bcfe339e0b2c11b1 (diff)
downloadmiasm-b3104648122b721f00a3e7fc88a26c6212f1e17c.tar.gz
miasm-b3104648122b721f00a3e7fc88a26c6212f1e17c.zip
Merge pull request #891 from nguigo/master
Handle movupd bidirectional mode
Diffstat (limited to 'miasm2/arch/x86/arch.py')
-rw-r--r--miasm2/arch/x86/arch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 025751a6..feafcd44 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -3746,7 +3746,8 @@ addop("movsd", [bs8(0x0f), bs("0001000"), swapargs, pref_f2]
       + rmmod(xmm_reg, rm_arg_xmm_m64), [xmm_reg, rm_arg_xmm_m64])
 addop("movss", [bs8(0x0f), bs("0001000"), swapargs, pref_f3] +
       rmmod(xmm_reg, rm_arg_xmm_m32), [xmm_reg, rm_arg_xmm_m32])
-addop("movupd", [bs8(0x0f), bs8(0x10), pref_66] + rmmod(xmm_reg, rm_arg_xmm))
+addop("movupd", [bs8(0x0f), bs8(0x10), pref_66] + rmmod(xmm_reg, rm_arg_xmm), [xmm_reg, rm_arg_xmm])
+addop("movupd", [bs8(0x0f), bs8(0x11), pref_66] + rmmod(xmm_reg, rm_arg_xmm), [rm_arg_xmm, xmm_reg])
 
 
 addop("movd", [bs8(0x0f), bs('011'), swapargs, bs('1110'), no_xmm_pref] +