Commit 27ae5bdb authored by Julian Kranz's avatar Julian Kranz
Browse files

X86 RREIL Translator

- Continued to add semantics for: (V)MOVAPS
parent 1126a641
......@@ -836,6 +836,25 @@ val sem-movaps x = do
commit sz dst (var temp)
val sem-vmovaps x = do
sz <- sizeof1 x.opnd1;
dst <- write sz x.opnd1;
src <- read sz x.opnd2;
if sz === 128 then
dst-upper <- write-upper sz x.opnd1;
commit sz dst-upper (imm 0)
return void
temp <- mktemp;
mov sz temp src;
commit sz dst (var temp)
val sem-movsx x = do
sz-dst <- sizeof1 x.opnd1;
sz-src <- sizeof1 x.opnd2;
......@@ -2121,7 +2140,7 @@ val semantics insn =
| VMINSD x: sem-undef-varity x
| VMINSS x: sem-undef-varity x
| VMOVAPD x: sem-undef-varity x
| VMOVAPS x: sem-undef-varity x
| VMOVAPS x: sem-vmovaps x
| VMOVD x: sem-undef-varity x
| VMOVDDUP x: sem-undef-varity x
| VMOVDQA x: sem-undef-varity x
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment