Skip to content

Commit

Permalink
Update instructions_0f.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
spetterman66 committed Sep 12, 2023
1 parent 6949081 commit 6196246
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/rust/cpu/instructions_0f.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1866,11 +1866,9 @@ pub unsafe fn instr_660F7C(source: reg128, r: i32) {
// haddpd xmm1, xmm2/m128
let destination = read_xmm128s(r);
let result = reg128 {
f32: [
destination.f32[0] + destination.f32[1],
destination.f32[2] + destination.f32[3],
source.f32[0] + source.f32[1],
source.f32[2] + source.f32[3],
f64: [
destination.f64[0] + source.f64[0],
destination.f64[1] + source.f64[1],
],
};
write_xmm_reg128(r, result);
Expand Down

0 comments on commit 6196246

Please sign in to comment.