2015-01-29 01:37:59 +08:00
|
|
|
//===- HexagonIntrinsicsV5.td - V4 Instruction intrinsics --*- tablegen -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def : T_PI_pat <S2_asr_i_p_rnd, int_hexagon_S2_asr_i_p_rnd>;
|
|
|
|
def : T_PI_pat <S2_asr_i_p_rnd_goodsyntax,
|
|
|
|
int_hexagon_S2_asr_i_p_rnd_goodsyntax>;
|
|
|
|
|
2012-05-12 03:39:13 +08:00
|
|
|
class sf_SInst_sf<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins IntRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1))]>;
|
|
|
|
|
|
|
|
class si_SInst_sf<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins IntRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1))]>;
|
|
|
|
|
|
|
|
class sf_SInst_si<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins IntRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1))]>;
|
|
|
|
|
|
|
|
class sf_SInst_di<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins DoubleRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set IntRegs:$dst, (IntID DoubleRegs:$src1))]>;
|
|
|
|
|
|
|
|
class sf_SInst_df<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins DoubleRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set IntRegs:$dst, (IntID DoubleRegs:$src1))]>;
|
|
|
|
|
|
|
|
class si_SInst_df<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins DoubleRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set IntRegs:$dst, (IntID DoubleRegs:$src1))]>;
|
|
|
|
|
|
|
|
class df_SInst_sf<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs DoubleRegs:$dst), (ins IntRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID IntRegs:$src1))]>;
|
|
|
|
|
|
|
|
class di_SInst_sf<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs DoubleRegs:$dst), (ins IntRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID IntRegs:$src1))]>;
|
|
|
|
|
|
|
|
class df_SInst_si<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs DoubleRegs:$dst), (ins IntRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID IntRegs:$src1))]>;
|
|
|
|
|
|
|
|
class df_SInst_df<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1))]>;
|
|
|
|
|
|
|
|
class di_SInst_df<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1))]>;
|
|
|
|
|
|
|
|
|
|
|
|
class df_SInst_di<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1))]>;
|
|
|
|
|
|
|
|
class sf_MInst_sfsf<string opc, Intrinsic IntID>
|
|
|
|
: MInst<(outs IntRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, $src2)")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1, IntRegs:$src2))]>;
|
|
|
|
|
|
|
|
class df_MInst_dfdf<string opc, Intrinsic IntID>
|
|
|
|
: MInst<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, DoubleRegs:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, $src2)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1, DoubleRegs:$src2))]>;
|
|
|
|
|
|
|
|
class qi_ALU64_dfdf<string opc, Intrinsic IntID>
|
|
|
|
: ALU64_rr<(outs PredRegs:$dst), (ins DoubleRegs:$src1, DoubleRegs:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, $src2)")),
|
|
|
|
[(set PredRegs:$dst, (IntID DoubleRegs:$src1, DoubleRegs:$src2))]>;
|
|
|
|
|
|
|
|
class qi_ALU64_dfu5<string opc, Intrinsic IntID>
|
|
|
|
: ALU64_ri<(outs PredRegs:$dst), (ins DoubleRegs:$src1, u5Imm:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, #$src2)")),
|
|
|
|
[(set PredRegs:$dst, (IntID DoubleRegs:$src1, imm:$src2))]>;
|
|
|
|
|
|
|
|
|
|
|
|
class sf_MInst_sfsfsf_acc<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs IntRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2,
|
|
|
|
IntRegs:$dst2),
|
|
|
|
!strconcat("$dst += ", !strconcat(opc ,
|
|
|
|
"($src1, $src2)")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1,
|
|
|
|
IntRegs:$src2, IntRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class sf_MInst_sfsfsf_nac<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs IntRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2,
|
|
|
|
IntRegs:$dst2),
|
|
|
|
!strconcat("$dst -= ", !strconcat(opc ,
|
|
|
|
"($src1, $src2)")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1,
|
|
|
|
IntRegs:$src2, IntRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
|
|
|
|
class sf_MInst_sfsfsfsi_sc<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs IntRegs:$dst), (ins IntRegs:$dst2, IntRegs:$src1,
|
|
|
|
IntRegs:$src2, IntRegs:$src3),
|
|
|
|
!strconcat("$dst += ", !strconcat(opc ,
|
|
|
|
"($src1, $src2, $src3):scale")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$dst2, IntRegs:$src1,
|
|
|
|
IntRegs:$src2, IntRegs:$src3))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class sf_MInst_sfsfsf_acc_lib<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs IntRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2,
|
|
|
|
IntRegs:$dst2),
|
|
|
|
!strconcat("$dst += ", !strconcat(opc ,
|
|
|
|
"($src1, $src2):lib")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1,
|
|
|
|
IntRegs:$src2, IntRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class sf_MInst_sfsfsf_nac_lib<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs IntRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2,
|
|
|
|
IntRegs:$dst2),
|
|
|
|
!strconcat("$dst -= ", !strconcat(opc ,
|
|
|
|
"($src1, $src2):lib")),
|
|
|
|
[(set IntRegs:$dst, (IntID IntRegs:$src1,
|
|
|
|
IntRegs:$src2, IntRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class df_MInst_dfdfdf_acc<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, DoubleRegs:$src2,
|
|
|
|
DoubleRegs:$dst2),
|
|
|
|
!strconcat("$dst += ", !strconcat(opc ,
|
|
|
|
"($src1, $src2)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1,
|
|
|
|
DoubleRegs:$src2, DoubleRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class df_MInst_dfdfdf_nac<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, DoubleRegs:$src2,
|
|
|
|
DoubleRegs:$dst2),
|
|
|
|
!strconcat("$dst -= ", !strconcat(opc ,
|
|
|
|
"($src1, $src2)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1,
|
|
|
|
DoubleRegs:$src2, DoubleRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
|
|
|
|
class df_MInst_dfdfdfsi_sc<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs DoubleRegs:$dst), (ins DoubleRegs:$dst2, DoubleRegs:$src1,
|
|
|
|
DoubleRegs:$src2, IntRegs:$src3),
|
|
|
|
!strconcat("$dst += ", !strconcat(opc ,
|
|
|
|
"($src1, $src2, $src3):scale")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$dst2, DoubleRegs:$src1,
|
|
|
|
DoubleRegs:$src2, IntRegs:$src3))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class df_MInst_dfdfdf_acc_lib<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, DoubleRegs:$src2,
|
|
|
|
DoubleRegs:$dst2),
|
|
|
|
!strconcat("$dst += ", !strconcat(opc ,
|
|
|
|
"($src1, $src2):lib")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1,
|
|
|
|
DoubleRegs:$src2, DoubleRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class df_MInst_dfdfdf_nac_lib<string opc, Intrinsic IntID>
|
|
|
|
: MInst_acc<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, DoubleRegs:$src2,
|
|
|
|
DoubleRegs:$dst2),
|
|
|
|
!strconcat("$dst -= ", !strconcat(opc ,
|
|
|
|
"($src1, $src2):lib")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1,
|
|
|
|
DoubleRegs:$src2, DoubleRegs:$dst2))],
|
|
|
|
"$dst2 = $dst">;
|
|
|
|
|
|
|
|
class qi_SInst_sfsf<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs PredRegs:$dst), (ins IntRegs:$src1, IntRegs:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, $src2)")),
|
|
|
|
[(set PredRegs:$dst, (IntID IntRegs:$src1, IntRegs:$src2))]>;
|
|
|
|
|
|
|
|
class qi_SInst_sfu5<string opc, Intrinsic IntID>
|
|
|
|
: MInst<(outs PredRegs:$dst), (ins IntRegs:$src1, u5Imm:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, #$src2)")),
|
|
|
|
[(set PredRegs:$dst, (IntID IntRegs:$src1, imm:$src2))]>;
|
|
|
|
|
|
|
|
class sf_ALU64_u10_pos<string opc, Intrinsic IntID>
|
|
|
|
: ALU64_ri<(outs IntRegs:$dst), (ins u10Imm:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "#$src1):pos")),
|
|
|
|
[(set IntRegs:$dst, (IntID imm:$src1))]>;
|
|
|
|
|
|
|
|
class sf_ALU64_u10_neg<string opc, Intrinsic IntID>
|
|
|
|
: ALU64_ri<(outs IntRegs:$dst), (ins u10Imm:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "#$src1):neg")),
|
|
|
|
[(set IntRegs:$dst, (IntID imm:$src1))]>;
|
|
|
|
|
|
|
|
class df_ALU64_u10_pos<string opc, Intrinsic IntID>
|
|
|
|
: ALU64_ri<(outs DoubleRegs:$dst), (ins u10Imm:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "#$src1):pos")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID imm:$src1))]>;
|
|
|
|
|
|
|
|
class df_ALU64_u10_neg<string opc, Intrinsic IntID>
|
|
|
|
: ALU64_ri<(outs DoubleRegs:$dst), (ins u10Imm:$src1),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "#$src1):neg")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID imm:$src1))]>;
|
|
|
|
|
|
|
|
class di_MInst_diu6<string opc, Intrinsic IntID>
|
|
|
|
: MInst<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, u6Imm:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, #$src2)")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1, imm:$src2))]>;
|
|
|
|
|
|
|
|
class di_MInst_diu4_rnd<string opc, Intrinsic IntID>
|
|
|
|
: MInst<(outs DoubleRegs:$dst), (ins DoubleRegs:$src1, u4Imm:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, #$src2):rnd")),
|
|
|
|
[(set DoubleRegs:$dst, (IntID DoubleRegs:$src1, imm:$src2))]>;
|
|
|
|
|
|
|
|
class si_MInst_diu4_rnd_sat<string opc, Intrinsic IntID>
|
|
|
|
: MInst<(outs IntRegs:$dst), (ins DoubleRegs:$src1, u4Imm:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, #$src2):rnd:sat")),
|
|
|
|
[(set IntRegs:$dst, (IntID DoubleRegs:$src1, imm:$src2))]>;
|
|
|
|
|
|
|
|
class si_SInst_diu4_sat<string opc, Intrinsic IntID>
|
|
|
|
: SInst<(outs IntRegs:$dst), (ins DoubleRegs:$src1, u4Imm:$src2),
|
|
|
|
!strconcat("$dst = ", !strconcat(opc , "($src1, #$src2):sat")),
|
|
|
|
[(set IntRegs:$dst, (IntID DoubleRegs:$src1, imm:$src2))]>;
|
|
|
|
|
|
|
|
|
|
|
|
def HEXAGON_C4_fastcorner9:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_qiqi <"fastcorner9", int_hexagon_C4_fastcorner9>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_C4_fastcorner9_not:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_qiqi <"!fastcorner9", int_hexagon_C4_fastcorner9_not>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vrmpybuu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_didi <"vrmpybu", int_hexagon_M5_vrmpybuu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vrmacbuu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_dididi_acc <"vrmpybu", int_hexagon_M5_vrmacbuu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vrmpybsu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_didi <"vrmpybsu", int_hexagon_M5_vrmpybsu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vrmacbsu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_dididi_acc <"vrmpybsu", int_hexagon_M5_vrmacbsu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vmpybuu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_sisi <"vmpybu", int_hexagon_M5_vmpybuu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vmpybsu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_sisi <"vmpybsu", int_hexagon_M5_vmpybsu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vmacbuu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_disisi_acc <"vmpybu", int_hexagon_M5_vmacbuu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vmacbsu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_disisi_acc <"vmpybsu", int_hexagon_M5_vmacbsu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vdmpybsu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_didi_sat <"vdmpybsu", int_hexagon_M5_vdmpybsu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_M5_vdmacbsu:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_dididi_acc_sat <"vdmpybsu", int_hexagon_M5_vdmacbsu>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_A5_vaddhubs:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_didi_sat <"vaddhub", int_hexagon_A5_vaddhubs>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_S5_popcountp:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_di <"popcount", int_hexagon_S5_popcountp>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_S5_asrhub_rnd_sat_goodsyntax:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_MInst_diu4_rnd_sat <"vasrhub", int_hexagon_S5_asrhub_rnd_sat_goodsyntax>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_S5_asrhub_sat:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_diu4_sat <"vasrhub", int_hexagon_S5_asrhub_sat>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_S5_vasrhrnd_goodsyntax:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_diu4_rnd <"vasrh", int_hexagon_S5_vasrhrnd_goodsyntax>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_S2_asr_i_p_rnd:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_diu6 <"asr", int_hexagon_S2_asr_i_p_rnd>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_S2_asr_i_p_rnd_goodsyntax:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_MInst_diu6 <"asrrnd", int_hexagon_S2_asr_i_p_rnd_goodsyntax>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfadd:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sfadd", int_hexagon_F2_sfadd>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfsub:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sfsub", int_hexagon_F2_sfsub>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfmpy:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sfmpy", int_hexagon_F2_sfmpy>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffma:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsfsf_acc <"sfmpy", int_hexagon_F2_sffma>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffma_sc:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsfsfsi_sc <"sfmpy", int_hexagon_F2_sffma_sc>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffms:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsfsf_nac <"sfmpy", int_hexagon_F2_sffms>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffma_lib:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsfsf_acc_lib <"sfmpy", int_hexagon_F2_sffma_lib>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffms_lib:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsfsf_nac_lib <"sfmpy", int_hexagon_F2_sffms_lib>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfcmpeq:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_sfsf <"sfcmp.eq", int_hexagon_F2_sfcmpeq>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfcmpgt:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_sfsf <"sfcmp.gt", int_hexagon_F2_sfcmpgt>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfcmpge:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_sfsf <"sfcmp.ge", int_hexagon_F2_sfcmpge>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfcmpuo:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_sfsf <"sfcmp.uo", int_hexagon_F2_sfcmpuo>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfmax:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sfmax", int_hexagon_F2_sfmax>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfmin:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sfmin", int_hexagon_F2_sfmin>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfclass:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_SInst_sfu5 <"sfclass", int_hexagon_F2_sfclass>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfimm_p:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_ALU64_u10_pos <"sfmake", int_hexagon_F2_sfimm_p>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sfimm_n:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_ALU64_u10_neg <"sfmake", int_hexagon_F2_sfimm_n>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffixupn:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sffixupn", int_hexagon_F2_sffixupn>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffixupd:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_MInst_sfsf <"sffixupd", int_hexagon_F2_sffixupd>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_sffixupr:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_SInst_sf <"sffixupr", int_hexagon_F2_sffixupr>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfadd:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dfadd", int_hexagon_F2_dfadd>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfsub:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dfsub", int_hexagon_F2_dfsub>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfmpy:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dfmpy", int_hexagon_F2_dfmpy>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffma:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdfdf_acc <"dfmpy", int_hexagon_F2_dffma>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffms:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdfdf_nac <"dfmpy", int_hexagon_F2_dffms>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffma_lib:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdfdf_acc_lib <"dfmpy", int_hexagon_F2_dffma_lib>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffms_lib:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdfdf_nac_lib <"dfmpy", int_hexagon_F2_dffms_lib>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffma_sc:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdfdfsi_sc <"dfmpy", int_hexagon_F2_dffma_sc>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfmax:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dfmax", int_hexagon_F2_dfmax>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfmin:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dfmin", int_hexagon_F2_dfmin>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfcmpeq:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_ALU64_dfdf <"dfcmp.eq", int_hexagon_F2_dfcmpeq>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfcmpgt:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_ALU64_dfdf <"dfcmp.gt", int_hexagon_F2_dfcmpgt>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfcmpge:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_ALU64_dfdf <"dfcmp.ge", int_hexagon_F2_dfcmpge>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfcmpuo:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_ALU64_dfdf <"dfcmp.uo", int_hexagon_F2_dfcmpuo>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfclass:
|
2012-07-19 08:25:04 +08:00
|
|
|
qi_ALU64_dfu5 <"dfclass", int_hexagon_F2_dfclass>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfimm_p:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_ALU64_u10_pos <"dfmake", int_hexagon_F2_dfimm_p>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dfimm_n:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_ALU64_u10_neg <"dfmake", int_hexagon_F2_dfimm_n>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffixupn:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dffixupn", int_hexagon_F2_dffixupn>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffixupd:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_MInst_dfdf <"dffixupd", int_hexagon_F2_dffixupd>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_dffixupr:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_SInst_df <"dffixupr", int_hexagon_F2_dffixupr>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2df:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_SInst_sf <"convert_sf2df", int_hexagon_F2_conv_sf2df>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2sf:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_SInst_df <"convert_df2sf", int_hexagon_F2_conv_df2sf>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_uw2sf:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_SInst_si <"convert_uw2sf", int_hexagon_F2_conv_uw2sf>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_uw2df:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_SInst_si <"convert_uw2df", int_hexagon_F2_conv_uw2df>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_w2sf:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_SInst_si <"convert_w2sf", int_hexagon_F2_conv_w2sf>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_w2df:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_SInst_si <"convert_w2df", int_hexagon_F2_conv_w2df>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_ud2sf:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_SInst_di <"convert_ud2sf", int_hexagon_F2_conv_ud2sf>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_ud2df:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_SInst_di <"convert_ud2df", int_hexagon_F2_conv_ud2df>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_d2sf:
|
2012-07-19 08:25:04 +08:00
|
|
|
sf_SInst_di <"convert_d2sf", int_hexagon_F2_conv_d2sf>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_d2df:
|
2012-07-19 08:25:04 +08:00
|
|
|
df_SInst_di <"convert_d2df", int_hexagon_F2_conv_d2df>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2uw:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_sf <"convert_sf2uw", int_hexagon_F2_conv_sf2uw>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2w:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_sf <"convert_sf2w", int_hexagon_F2_conv_sf2w>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2ud:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_sf <"convert_sf2ud", int_hexagon_F2_conv_sf2ud>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2d:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_sf <"convert_sf2d", int_hexagon_F2_conv_sf2d>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2uw:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_df <"convert_df2uw", int_hexagon_F2_conv_df2uw>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2w:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_df <"convert_df2w", int_hexagon_F2_conv_df2w>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2ud:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_df <"convert_df2ud", int_hexagon_F2_conv_df2ud>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2d:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_df <"convert_df2d", int_hexagon_F2_conv_df2d>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2uw_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_sf <"convert_sf2uw", int_hexagon_F2_conv_sf2uw_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2w_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_sf <"convert_sf2w", int_hexagon_F2_conv_sf2w_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2ud_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_sf <"convert_sf2ud", int_hexagon_F2_conv_sf2ud_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_sf2d_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_sf <"convert_sf2d", int_hexagon_F2_conv_sf2d_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2uw_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_df <"convert_df2uw", int_hexagon_F2_conv_df2uw_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2w_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
si_SInst_df <"convert_df2w", int_hexagon_F2_conv_df2w_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2ud_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_df <"convert_df2ud", int_hexagon_F2_conv_df2ud_chop>;
|
2012-05-12 03:39:13 +08:00
|
|
|
def HEXAGON_F2_conv_df2d_chop:
|
2012-07-19 08:25:04 +08:00
|
|
|
di_SInst_df <"convert_df2d", int_hexagon_F2_conv_df2d_chop>;
|