Skip to content

Commit e600161

Browse files
author
Ledmington
committed
Minor fixes
1 parent 7a24970 commit e600161

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

id/src/main/java/com/ledmington/cpu/InstructionEncoder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
import com.ledmington.cpu.x86.Registers;
5151
import com.ledmington.cpu.x86.SegmentRegister;
5252
import com.ledmington.cpu.x86.SegmentedAddress;
53+
import com.ledmington.cpu.x86.WeirdVpcmpeqb;
5354
import com.ledmington.utils.WriteOnlyByteBuffer;
5455
import com.ledmington.utils.WriteOnlyByteBufferV1;
5556

id/src/main/java/com/ledmington/cpu/x86/WeirdVpcmpeqb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* This specific class represents the specific case of: 'vpcmpeqb k0,ymm16,ymm17' when encoded as '62 b1 7d 20 74 c1'.
2222
*/
23-
record WeirdVpcmpeqb(Opcode opcode, Operand firstOperand, Operand secondOperand, Operand thirdOperand)
23+
public record WeirdVpcmpeqb(Opcode opcode, Operand firstOperand, Operand secondOperand, Operand thirdOperand)
2424
implements Instruction {
2525

2626
@Override

id/src/test/java/com/ledmington/cpu/TestDecoding.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.junit.jupiter.params.provider.MethodSource;
3333

3434
import com.ledmington.cpu.x86.Instruction;
35+
import com.ledmington.cpu.x86.Instructions;
3536
import com.ledmington.utils.BitUtils;
3637

3738
final class TestDecoding extends X64Encodings {

id/src/test/java/com/ledmington/cpu/X64Encodings.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,14 @@
159159
import java.util.stream.IntStream;
160160
import java.util.stream.Stream;
161161

162+
import com.ledmington.cpu.x86.GeneralInstruction;
162163
import com.ledmington.cpu.x86.Immediate;
163164
import com.ledmington.cpu.x86.IndirectOperand;
164165
import com.ledmington.cpu.x86.Instruction;
165166
import com.ledmington.cpu.x86.InstructionPrefix;
166167
import com.ledmington.cpu.x86.Opcode;
167168
import com.ledmington.cpu.x86.SegmentedAddress;
169+
import com.ledmington.cpu.x86.WeirdVpcmpeqb;
168170
import com.ledmington.utils.BitUtils;
169171
import com.ledmington.utils.SuppressFBWarnings;
170172

0 commit comments

Comments
 (0)