File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -867,7 +867,7 @@ let emit_MOV b dst src =
867
867
assert false
868
868
869
869
let emit_vex3 buf ~rexr ~rexx ~rexb ~vex_m ~vex_w ~vex_v ~vex_l ~vex_p =
870
- buf_int8 buf 0xC4 ;
870
+ buf_int8 buf 0xC4 ; (* We only emit 3-byte VEX instructions. *)
871
871
buf_int8 buf (((lnot rexr) lsl 7 ) lor
872
872
((lnot rexx) lsl 6 ) lor
873
873
((lnot rexb) lsl 5 ) lor
@@ -971,7 +971,6 @@ let emit_simd b (instr : Amd64_simd_instrs.instr) args =
971
971
emit_legacy_prefix prefix;
972
972
emit_mod_rm_reg b (mk_rex rex) (legacy_escape escape) rm reg
973
973
| Reg , Vex { vex_m; vex_w; vex_l; vex_p } ->
974
- buf_int8 b 0xC4 ; (* We only emit 3-byte VEX instructions. *)
975
974
let rm, vex_v, reg = rm_vexv_reg () in
976
975
emit_vex_rm_reg b [instr.enc.opcode] rm reg
977
976
~vex_m: (vex_map vex_m) ~vex_w ~vex_v ~vex_l ~vex_p: (vex_prefix vex_p)
Original file line number Diff line number Diff line change 12
12
(* *)
13
13
(* *************************************************************************)
14
14
15
- (* Parses [amd64.csv] and outputs [X86_simd_defs .instr] definitions.
15
+ (* Parses [amd64.csv] and outputs [Amd64_simd_defs .instr] definitions.
16
16
17
17
[amd64.csv] was retrieved from https://github.com/GregoryComer/x86-csv
18
18
(commit c638bbbaa17f0c81abaa7e84a968335c985542fa) and manually modified.
You can’t perform that action at this time.
0 commit comments