Skip to content

Commit

Permalink
Add ndd and nf instructions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hanklo6 committed Oct 17, 2024
1 parent ca48f24 commit 197a9a8
Show file tree
Hide file tree
Showing 4 changed files with 72,125 additions and 46,084 deletions.
16 changes: 9 additions & 7 deletions src/hotspot/cpu/x86/assembler_x86.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,20 +953,13 @@ class Assembler : public AbstractAssembler {
// the product flag UseIncDec value.

void decl(Register dst);
void edecl(Register dst, Register src, bool no_flags);
void decl(Address dst);
void edecl(Register dst, Address src, bool no_flags);
void decq(Address dst);
void edecq(Register dst, Address src, bool no_flags);

void incl(Register dst);
void eincl(Register dst, Register src, bool no_flags);
void incl(Address dst);
void eincl(Register dst, Address src, bool no_flags);
void incq(Register dst);
void eincq(Register dst, Register src, bool no_flags);
void incq(Address dst);
void eincq(Register dst, Address src, bool no_flags);

// New cpus require use of movsd and movss to avoid partial register stall
// when loading from memory. But for old Opteron use movlpd instead of movsd.
Expand Down Expand Up @@ -1116,6 +1109,15 @@ class Assembler : public AbstractAssembler {
void addq(Register dst, Register src);
void eaddq(Register dst, Register src1, Register src2, bool no_flags);


void edecl(Register dst, Register src, bool no_flags);
void edecl(Register dst, Address src, bool no_flags);
void edecq(Register dst, Address src, bool no_flags);
void eincl(Register dst, Register src, bool no_flags);
void eincl(Register dst, Address src, bool no_flags);
void eincq(Register dst, Register src, bool no_flags);
void eincq(Register dst, Address src, bool no_flags);

#ifdef _LP64
//Add Unsigned Integers with Carry Flag
void adcxq(Register dst, Register src);
Expand Down
Loading

0 comments on commit 197a9a8

Please sign in to comment.