Searched refs:instruction (Results 1 - 25 of 89) sorted by relevance

1234

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DInstructionDecoder.java29 // basic instruction decoder class
38 static int getSourceRegister1(int instruction) { argument
39 return (instruction & RS1_MASK) >>> RS1_START_BIT;
43 static int getSourceRegister2(int instruction) { argument
44 return (instruction & RS2_MASK);
48 static int getDestinationRegister(int instruction) { argument
49 return (instruction & RD_MASK) >>> RD_START_BIT;
52 static int getConditionCode(int instruction) { argument
53 return (instruction & CONDITION_CODE_MASK) >>> CONDITION_CODE_START_BIT;
59 static boolean isIBitSet(int instruction) { argument
63 getOperand2(int instruction) argument
75 getOpf(int instruction) argument
79 decode(int instruction, SPARCInstructionFactory factory) argument
[all...]
H A DSPARCIllegalInstruction.java30 final private int instruction; field in class:SPARCIllegalInstruction
33 public SPARCIllegalInstruction(int instruction) { argument
35 this.instruction = instruction;
36 description = "bad opcode - " + Integer.toHexString(instruction);
44 return instruction;
H A DCoprocessorDecoder.java35 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
36 int rs1Num = getSourceRegister1(instruction);
37 int rs2Num = getSourceRegister2(instruction);
38 int rdNum = getDestinationRegister(instruction);
40 return factory.newCoprocessorInstruction(instruction, op3,
41 (instruction & OPC_MASK) >> OPF_START_BIT,
H A DV9CCBranchDecoder.java30 abstract int getConditionFlag(int instruction); argument
32 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
34 int conditionFlag = getConditionFlag(instruction);
35 boolean predictTaken = getPredictTaken(instruction);
36 int conditionCode = getConditionCode(instruction);
37 boolean annuled = getAnnuledBit(instruction);
40 PCRelativeAddress addr = new PCRelativeAddress(extractSignedIntFromNBits(instruction, 19) << 2);
H A DV9ShiftDecoder.java41 static boolean isXBitSet(int instruction) { argument
42 return (instruction & X_MASK) != 0;
45 Instruction decode(int instruction, argument
47 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
48 SPARCRegister rd = SPARCRegisters.getRegister(getDestinationRegister(instruction));
49 boolean xBit = isXBitSet(instruction);
52 if (isIBitSet(instruction)) {
54 int value = instruction & ( xBit ? SHIFT_COUNT_6_MASK : SHIFT_COUNT_5_MASK);
57 operand2 = SPARCRegisters.getRegister(getSourceRegister2(instruction));
H A DIllegalInstructionDecoder.java30 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
31 return factory.newIllegalInstruction(instruction);
H A DShiftDecoder.java40 private ImmediateOrRegister getShiftLength(int instruction) { argument
41 boolean iBit = isIBitSet(instruction);
44 int value = instruction & SHIFT_COUNT_5_MASK;
47 operand2 = SPARCRegisters.getRegister(getSourceRegister2(instruction));
52 Instruction decode(int instruction, argument
54 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
55 SPARCRegister rd = SPARCRegisters.getRegister(getDestinationRegister(instruction));
56 ImmediateOrRegister operand2 = getShiftLength(instruction);
H A DUnimpDecoder.java30 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
31 return factory.newUnimpInstruction(instruction & DISP_22_MASK);
H A DV9BranchDecoder.java31 static boolean getPredictTaken(int instruction) { argument
32 return (PREDICTION_MASK & instruction) != 0;
H A DV9ReadDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
34 int specialRegNum = getSourceRegister1(instruction);
38 instr = v9factory.newIllegalInstruction(instruction);
40 int rdNum = getDestinationRegister(instruction);
44 boolean iBit = isIBitSet(instruction);
46 instr = v9factory.newV9MembarInstruction((instruction & MMASK_MASK) >>> MMASK_START_BIT,
47 (instruction & CMASK_MASK) >>> CMASK_START_BIT);
52 instr = v9factory.newIllegalInstruction(instruction);
H A DSPARCDisassembler.java34 // instruction cache - Map<Integer, Instruction>.
46 // direct call instruction
47 protected Instruction decodeFormat1Instruction(int instruction) { argument
48 return callDecoder.decode(instruction, factory);
53 protected Instruction decodeFormat2Instruction(int instruction) { argument
54 int op2 = (instruction & OP_2_MASK) >>> OP_2_START_BIT;
56 return decoder.decode(instruction, factory);
61 protected static int getOp3(int instruction) { argument
62 return (instruction & OP_3_MASK) >>> OP_3_START_BIT;
79 protected Instruction decodeFormat3Instruction(int instruction) { argument
89 decodeFormat3AInstruction(int instruction) argument
[all...]
H A DFPopDecoder.java32 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
33 int opf = getOpf(instruction);
35 return (decoder == null) ? factory.newIllegalInstruction(instruction)
36 : decoder.decode(instruction, factory);
H A DMemoryInstructionDecoder.java42 static void setAddressSpace(int instruction, SPARCRegisterIndirectAddress addr) { argument
43 int asi = (instruction & ASI_MASK) >>> ASI_START_BIT;
47 SPARCRegisterIndirectAddress getRegisterIndirectAddress(int instruction) { argument
48 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
49 boolean iBit = isIBitSet(instruction);
52 int simm13 = extractSignedIntFromNBits(instruction, 13);
55 SPARCRegister rs2 = SPARCRegisters.getRegister(getSourceRegister2(instruction));
67 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
68 SPARCRegisterIndirectAddress addr = getRegisterIndirectAddress(instruction);
69 SPARCRegister rd = getDestination(instruction);
77 getDestination(int instruction) argument
83 decodeMemoryInstruction(int instruction, SPARCRegisterIndirectAddress addr, SPARCRegister rd, SPARCInstructionFactory factory) argument
[all...]
H A DReadWriteDecoder.java32 abstract Instruction decodeReadWrite(int instruction, argument
40 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
42 int rs1Num = getSourceRegister1(instruction);
43 int rdNum = getDestinationRegister(instruction);
44 return decodeReadWrite(instruction, factory, rs1Num, rdNum);
H A DV9PopcDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
33 int rs1Num = getSourceRegister1(instruction);
37 instr = v9factory.newIllegalInstruction(instruction);
39 SPARCRegister rd = SPARCRegisters.getRegister(getDestinationRegister(instruction));
40 instr = v9factory.newV9PopcInstruction(getOperand2(instruction), rd);
H A DV9WrprDecoder.java30 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
33 int prNum = getDestinationRegister(instruction);
35 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
36 ImmediateOrRegister operand2 = getOperand2(instruction);
39 instr = v9factory.newIllegalInstruction(instruction);
H A DV9WriteDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
34 int specialRegNum = getDestinationRegister(instruction);
39 instr = v9factory.newIllegalInstruction(instruction);
41 int rs1Num = getSourceRegister1(instruction);
43 if (isIBitSet(instruction) && rs1Num == 0) {
46 instr = v9factory.newIllegalInstruction(instruction);
55 instr = v9factory.newV9WriteInstruction(specialRegNum, asrRegNum, rs1, getOperand2(instruction));
H A DV9RegisterBranchDecoder.java30 static int getDisp16(int instruction) { argument
31 int offset = (DISP_16_LO_MASK & instruction) |
32 ((DISP_16_HI_MASK & instruction) >>> (DISP_16_HI_START_BIT - DISP_16_LO_NUMBITS));
47 public Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
49 int rcond = (BRANCH_RCOND_MASK & instruction) >>> BRANCH_RCOND_START_BIT;
51 return factory.newIllegalInstruction(instruction);
53 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
54 boolean predictTaken = getPredictTaken(instruction);
55 boolean annuled = getAnnuledBit(instruction);
56 PCRelativeAddress addr = new PCRelativeAddress(getDisp16(instruction));
[all...]
H A DBranchDecoder.java55 static boolean getAnnuledBit(int instruction) { argument
56 return (instruction & ANNUL_MASK) != 0;
59 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
60 boolean isAnnuled = getAnnuledBit(instruction);
61 int conditionCode = getConditionCode(instruction);
63 int offset = extractSignedIntFromNBits(instruction, 22);
H A DFormat3ADecoder.java41 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
42 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
43 SPARCRegister rd = SPARCRegisters.getRegister(getDestinationRegister(instruction));
44 ImmediateOrRegister operand2 = getOperand2(instruction);
45 return decodeFormat3AInstruction(instruction, rs1, operand2, rd, factory);
48 abstract Instruction decodeFormat3AInstruction(int instruction, argument
H A DV9MOVrDecoder.java38 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
41 int regConditionCode = getRegisterConditionCode(instruction);
44 instr = v9factory.newIllegalInstruction(instruction);
46 int rdNum = getDestinationRegister(instruction);
48 SPARCRegister rs1 = SPARCRegisters.getRegister(getSourceRegister1(instruction));
49 ImmediateOrRegister operand2 = getCMoveSource(instruction, 10);
H A DV9DoneRetryDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
34 int rdNum = getDestinationRegister(instruction);
45 instr = v9factory.newIllegalInstruction(instruction);
H A DV9FlushwDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
35 if (isIBitSet(instruction)) {
36 instr = v9factory.newIllegalInstruction(instruction);
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DREProgram.java40 char[] instruction; // The compiled regular expression 'program' field in class:REProgram
41 int lenInstruction; // The amount of the instruction buffer in use
48 * @param instruction Character array with RE opcode instructions in it
50 public REProgram(char[] instruction) argument
52 this(instruction, instruction.length);
58 * @param instruction Character array with RE opcode instructions in it
60 public REProgram(int parens, char[] instruction) argument
62 this(instruction, instruction
71 REProgram(char[] instruction, int lenInstruction) argument
105 setInstructions(char[] instruction, int lenInstruction) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DPUSH.java72 private Instruction instruction; field in class:PUSH
82 instruction = INSTRUCTIONS[Constants.ICONST_0 + value];
84 instruction = new BIPUSH((byte)value);
86 instruction = new SIPUSH((short)value);
88 instruction = new LDC(cp.addInteger(value));
96 instruction = INSTRUCTIONS[Constants.ICONST_0 + (value? 1 : 0)];
105 instruction = FCONST_0;
107 instruction = FCONST_1;
109 instruction = FCONST_2;
111 instruction
[all...]

Completed in 99 milliseconds

1234