From 6196246dba747cc5bdcc81731f720a28be89e6b1 Mon Sep 17 00:00:00 2001 From: Ryan <69303239+spetterman66@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:34:59 +0200 Subject: [PATCH] Update instructions_0f.rs --- src/rust/cpu/instructions_0f.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/rust/cpu/instructions_0f.rs b/src/rust/cpu/instructions_0f.rs index ce95ebb2ae..c5e4adb051 100644 --- a/src/rust/cpu/instructions_0f.rs +++ b/src/rust/cpu/instructions_0f.rs @@ -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);