Esempio n. 1
0
def adjust_rd_rs1_zimm_10_0(aInstruction):
    operand_adjustor = VectorOperandAdjustor(aInstruction)
    operand_adjustor.set_rd_int()
    operand_adjustor.set_rs1_vsetvl()
    operand_adjustor.set_imm_vtype_vsetvl("zimm[10:0]", 11)
    return True
Esempio n. 2
0
def adjust_rd_uimm_4_0_zimm_9_0(aInstruction):
    operand_adjustor = VectorOperandAdjustor(aInstruction)
    operand_adjustor.set_rd_int()
    operand_adjustor.set_imm_avl_vsetvl()
    operand_adjustor.set_imm_vtype_vsetvl("zimm[9:0]", 10)
    return True