Skip to content

Commit

Permalink
Merge pull request #4288 from OFFTKP/sext
Browse files Browse the repository at this point in the history
Fix slight inaccuracy in test 3_F7_05_2
  • Loading branch information
Sonicadvance1 authored Jan 21, 2025
2 parents 56c95e3 + 84c2f93 commit 42c931c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions unittests/ASM/PrimaryGroup/3_F7_05_2.asm
Original file line number Diff line number Diff line change
Expand Up @@ -44,40 +44,49 @@ mov [r8 + 8 * 5], rax

; Negative * Negative
mov ax, -128
cwd
imul word [r8 + 8 * 0 + 0]
ofcfmerge

mov eax, -128
cdq
imul dword [r8 + 8 * 1 + 0]
ofcfmerge

mov rax, -128
cqo
imul qword [r8 + 8 * 2 + 0]
ofcfmerge

; Negative * Positive
mov ax, -128
cwd
imul word [r8 + 8 * 3 + 0]
ofcfmerge

mov eax, -128
cdq
imul dword [r8 + 8 * 4 + 0]
ofcfmerge

mov rax, -128
cqo
imul qword [r8 + 8 * 5 + 0]
ofcfmerge

; Positive * Positive
mov ax, 128
cwd
imul word [r8 + 8 * 3 + 0]
ofcfmerge

mov eax, 128
cdq
imul dword [r8 + 8 * 4 + 0]
ofcfmerge

mov rax, 128
cqo
imul qword [r8 + 8 * 5 + 0]
ofcfmerge

Expand Down

0 comments on commit 42c931c

Please sign in to comment.