Searched refs:operand2 (Results 1 - 25 of 33) sorted by relevance

12

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DSPARCV9WrprInstruction.java31 final private ImmediateOrRegister operand2; field in class:SPARCV9WrprInstruction
33 public SPARCV9WrprInstruction(SPARCRegister rs1, ImmediateOrRegister operand2, argument
37 this.operand2 = operand2;
46 if (operand2.isRegister()) {
47 buf.append(operand2.toString());
49 int value = ((Immediate)operand2).getNumber().intValue();
62 return operand2;
H A DSPARCSaveInstruction.java31 public SPARCSaveInstruction(SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd) { argument
32 super("save", SAVE, rs1, operand2, rd);
34 trivial = (rs1 == G0 && operand2 == G0 && rd == G0);
43 if (operand2.isRegister()) {
44 buf.append(operand2.toString());
46 Number number = ((Immediate)operand2).getNumber();
H A DShiftDecoder.java42 ImmediateOrRegister operand2 = null;
45 operand2 = new Immediate(new Short((short)value));
47 operand2 = SPARCRegisters.getRegister(getSourceRegister2(instruction));
49 return operand2;
56 ImmediateOrRegister operand2 = getShiftLength(instruction);
57 return factory.newShiftInstruction(name, op3, rtlOperation, rs1, operand2, rd);
H A DSPARCRestoreInstruction.java31 public SPARCRestoreInstruction(SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd) { argument
32 super("restore", RESTORE, rs1, operand2, rd);
34 trivial = (rs1 == G0 && operand2 == G0 && rd == G0);
H A DSPARCShiftInstruction.java34 ImmediateOrRegister operand2, SPARCRegister rd) {
35 super(name, opcode, rs1, operand2, rd);
48 return operand2;
60 return operand2.toString();
33 SPARCShiftInstruction(String name, int opcode, int operation, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd) argument
H A DRestoreDecoder.java36 ImmediateOrRegister operand2,
39 return factory.newRestoreInstruction(rs1, operand2, rd);
34 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DSPARCFormat3AInstruction.java32 final protected ImmediateOrRegister operand2; field in class:SPARCFormat3AInstruction
36 ImmediateOrRegister operand2, SPARCRegister rd) {
40 this.operand2 = operand2;
46 if (operand2.isRegister()) {
47 buf.append(operand2.toString());
49 Number number = ((Immediate)operand2).getNumber();
81 return operand2;
35 SPARCFormat3AInstruction(String name, int opcode, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd) argument
H A DSaveDecoder.java36 ImmediateOrRegister operand2,
39 return factory.newSaveInstruction(rs1, operand2, rd);
34 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DSPARCV9WriteInstruction.java34 final private ImmediateOrRegister operand2; field in class:SPARCV9WriteInstruction
36 public SPARCV9WriteInstruction(int specialReg, int asrRegNum, SPARCRegister rs1, ImmediateOrRegister operand2) { argument
41 this.operand2 = operand2;
60 if (operand2.isRegister()) {
61 buf.append(operand2.toString());
63 Number number = ((Immediate)operand2).getNumber();
H A DSPARCWriteInstruction.java34 final private ImmediateOrRegister operand2; field in class:SPARCWriteInstruction
36 public SPARCWriteInstruction(int specialReg, int asrRegNum, SPARCRegister rs1, ImmediateOrRegister operand2) { argument
41 this.operand2 = operand2;
60 if (operand2.isRegister()) {
61 buf.append(operand2.toString());
63 Number number = ((Immediate)operand2).getNumber();
H A DInstructionDecoder.java65 ImmediateOrRegister operand2 = null;
67 operand2 = new Immediate(new Short((short)extractSignedIntFromNBits(instruction, 13)));
69 operand2 = SPARCRegisters.getRegister(getSourceRegister2(instruction));
71 return operand2;
H A DSPARCMoveInstruction.java32 public SPARCMoveInstruction(String name, int opcode, ImmediateOrRegister operand2, SPARCRegister rd) { argument
33 super(name, opcode, null, operand2, rd);
38 if (operand2 == SPARCRegisters.G0) {
58 return operand2;
H A DV9ShiftDecoder.java50 ImmediateOrRegister operand2 = null;
55 operand2 = new Immediate(new Short((short) value));
57 operand2 = SPARCRegisters.getRegister(getSourceRegister2(instruction));
60 return factory.newShiftInstruction(xBit? name + "x" : name, op3, rtlOperation, rs1, operand2, rd);
H A DArithmeticDecoder.java36 ImmediateOrRegister operand2,
39 return factory.newArithmeticInstruction(name, op3, rtlOperation, rs1, operand2, rd);
34 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DSPARCArithmeticInstruction.java34 ImmediateOrRegister operand2, SPARCRegister rd) {
35 super(name, opcode, rs1, operand2, rd);
40 if (rd == rs1 && operand2.isImmediate()) {
41 int value = ((Immediate)operand2).getNumber().intValue();
73 } else if (rs1 == SPARCRegisters.G0 && opcode == SUB && operand2.isRegister()) {
77 buf.append(operand2.toString());
78 if (operand2 != rd) {
93 return (new Operand[] { rs1, operand2 });
33 SPARCArithmeticInstruction(String name, int opcode, int operation, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd) argument
H A DFormat3ADecoder.java44 ImmediateOrRegister operand2 = getOperand2(instruction);
45 return decodeFormat3AInstruction(instruction, rs1, operand2, rd, factory);
50 ImmediateOrRegister operand2,
48 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DLogicDecoder.java36 ImmediateOrRegister operand2,
41 instr = factory.newMoveInstruction(name, op3, operand2, rd);
43 instr = factory.newLogicInstruction(name, op3, rtlOperation, rs1, operand2, rd);
34 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DV9WrprDecoder.java36 ImmediateOrRegister operand2 = getOperand2(instruction);
37 instr = v9factory.newV9WrprInstruction(rs1, operand2, prNum);
H A DSPARCLogicInstruction.java34 ImmediateOrRegister operand2, SPARCRegister rd) {
35 super(name, opcode, rs1, operand2, rd);
41 if (opcode == ORcc && rd == G0 && rd == operand2) {
47 } else if (opcode == XNOR && G0 == operand2) {
95 return (new Operand[] { rs1, operand2 });
33 SPARCLogicInstruction(String name, int opcode, int operation, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86ShiftInstruction.java32 final private ImmediateOrRegister operand2; field in class:X86ShiftInstruction
34 public X86ShiftInstruction(String name, int operation, Operand operand1, ImmediateOrRegister operand2, int size, int prefixes) { argument
37 this.operand2 = operand2;
48 if(operand2 != null) {
51 if ((operand2 instanceof Register)) {
52 buf.append(operand2.toString());
55 Number number = ((Immediate)operand2).getNumber();
72 return operand2;
84 return operand2
[all...]
H A DX86RotateInstruction.java31 final private ImmediateOrRegister operand2; field in class:X86RotateInstruction
33 public X86RotateInstruction(String name, Operand operand1, ImmediateOrRegister operand2, int size, int prefixes) { argument
36 this.operand2 = operand2;
44 if(operand2 != null) {
45 if ((operand2 instanceof Register)) {
46 buf.append(operand2.toString());
49 Number number = ((Immediate)operand2).getNumber();
H A DX86LogicInstruction.java32 final private Operand operand2; field in class:X86LogicInstruction
39 this.operand2 = op2;
48 if(operand2 != null) {
50 buf.append(getOperandAsString(operand2));
60 return (new Operand[] { operand2 });
H A DX86FPArithmeticInstruction.java33 final private Operand operand2; field in class:X86FPArithmeticInstruction
40 this.operand2 = op2;
52 if (operand2 != null) {
54 buf.append(getOperandAsString(operand2));
71 return operand2;
75 return (new Operand[] { operand1, operand2});
H A DX86ArithmeticInstruction.java33 final private Operand operand2; field in class:X86ArithmeticInstruction
41 this.operand2 = op2;
50 this.operand2 = op2;
63 if (operand2 != null) {
65 buf.append(getOperandAsString(operand2));
87 return operand2;
95 return (new Operand[] { operand1, operand2, operand3 });
H A DX86GeneralInstruction.java31 final private Operand operand2; field in class:X86GeneralInstruction
38 this.operand2 = op2;
58 if (operand2 != null) {
60 buf.append(getOperandAsString(operand2));
78 return operand2;

Completed in 86 milliseconds

12