Skip to content

Commit

Permalink
[test] Fix generation of x86-64 neg test
Browse files Browse the repository at this point in the history
  • Loading branch information
titzer committed Jul 16, 2024
1 parent f49fb02 commit ba7931b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/asm/x86-64/X86_64AssemblerTestGen.v3
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ def do_andn() {

def do_negn() {
regSize = 8;
do_m("and byte", asm.negb_m);
do_m("neg byte", asm.negb_m);
regSize = 16;
do_m("and word", asm.negw_m);
do_m("neg word", asm.negw_m);
regSize = 32;
do_m("and dword", asm.negd_m);
do_m("neg dword", asm.negd_m);
regSize = 64;
do_m("and qword", asm.negq_m);
do_m("neg qword", asm.negq_m);
}

def do_set() {
Expand Down

0 comments on commit ba7931b

Please sign in to comment.