2009-06-19 01:51:50 +00:00
|
|
|
//===- ARMSchedule.td - ARM Scheduling Definitions ---------*- tablegen -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Instruction Itinerary classes used for ARM
|
|
|
|
//
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iALUx : InstrItinClass;
|
|
|
|
def IIC_iALUi : InstrItinClass;
|
|
|
|
def IIC_iALUr : InstrItinClass;
|
|
|
|
def IIC_iALUsi : InstrItinClass;
|
2010-09-29 22:42:35 +00:00
|
|
|
def IIC_iALUsir : InstrItinClass;
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iALUsr : InstrItinClass;
|
2010-09-29 00:27:46 +00:00
|
|
|
def IIC_iBITi : InstrItinClass;
|
|
|
|
def IIC_iBITr : InstrItinClass;
|
|
|
|
def IIC_iBITsi : InstrItinClass;
|
|
|
|
def IIC_iBITsr : InstrItinClass;
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iUNAr : InstrItinClass;
|
|
|
|
def IIC_iUNAsi : InstrItinClass;
|
2010-09-25 00:49:35 +00:00
|
|
|
def IIC_iEXTr : InstrItinClass;
|
|
|
|
def IIC_iEXTAr : InstrItinClass;
|
2010-09-29 00:27:46 +00:00
|
|
|
def IIC_iEXTAsr : InstrItinClass;
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iCMPi : InstrItinClass;
|
|
|
|
def IIC_iCMPr : InstrItinClass;
|
|
|
|
def IIC_iCMPsi : InstrItinClass;
|
|
|
|
def IIC_iCMPsr : InstrItinClass;
|
2010-09-29 00:49:25 +00:00
|
|
|
def IIC_iTSTi : InstrItinClass;
|
|
|
|
def IIC_iTSTr : InstrItinClass;
|
|
|
|
def IIC_iTSTsi : InstrItinClass;
|
|
|
|
def IIC_iTSTsr : InstrItinClass;
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iMOVi : InstrItinClass;
|
|
|
|
def IIC_iMOVr : InstrItinClass;
|
|
|
|
def IIC_iMOVsi : InstrItinClass;
|
|
|
|
def IIC_iMOVsr : InstrItinClass;
|
2010-09-29 00:49:25 +00:00
|
|
|
def IIC_iMOVix2 : InstrItinClass;
|
|
|
|
def IIC_iMVNi : InstrItinClass;
|
|
|
|
def IIC_iMVNr : InstrItinClass;
|
|
|
|
def IIC_iMVNsi : InstrItinClass;
|
|
|
|
def IIC_iMVNsr : InstrItinClass;
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iCMOVi : InstrItinClass;
|
|
|
|
def IIC_iCMOVr : InstrItinClass;
|
|
|
|
def IIC_iCMOVsi : InstrItinClass;
|
|
|
|
def IIC_iCMOVsr : InstrItinClass;
|
2010-11-13 05:14:20 +00:00
|
|
|
def IIC_iCMOVix2 : InstrItinClass;
|
2009-08-19 18:00:44 +00:00
|
|
|
def IIC_iMUL16 : InstrItinClass;
|
|
|
|
def IIC_iMAC16 : InstrItinClass;
|
|
|
|
def IIC_iMUL32 : InstrItinClass;
|
|
|
|
def IIC_iMAC32 : InstrItinClass;
|
|
|
|
def IIC_iMUL64 : InstrItinClass;
|
|
|
|
def IIC_iMAC64 : InstrItinClass;
|
2010-09-30 01:08:25 +00:00
|
|
|
def IIC_iLoad_i : InstrItinClass;
|
|
|
|
def IIC_iLoad_r : InstrItinClass;
|
|
|
|
def IIC_iLoad_si : InstrItinClass;
|
|
|
|
def IIC_iLoad_iu : InstrItinClass;
|
|
|
|
def IIC_iLoad_ru : InstrItinClass;
|
|
|
|
def IIC_iLoad_siu : InstrItinClass;
|
|
|
|
def IIC_iLoad_bh_i : InstrItinClass;
|
|
|
|
def IIC_iLoad_bh_r : InstrItinClass;
|
|
|
|
def IIC_iLoad_bh_si : InstrItinClass;
|
|
|
|
def IIC_iLoad_bh_iu : InstrItinClass;
|
|
|
|
def IIC_iLoad_bh_ru : InstrItinClass;
|
|
|
|
def IIC_iLoad_bh_siu : InstrItinClass;
|
|
|
|
def IIC_iLoad_d_i : InstrItinClass;
|
|
|
|
def IIC_iLoad_d_r : InstrItinClass;
|
|
|
|
def IIC_iLoad_d_ru : InstrItinClass;
|
2010-10-06 06:27:31 +00:00
|
|
|
def IIC_iLoad_m : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_iLoad_mu : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_iLoad_mBr : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_iPop : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_iPop_Br : InstrItinClass<0>; // micro-coded
|
2010-09-24 22:41:41 +00:00
|
|
|
def IIC_iLoadiALU : InstrItinClass;
|
2010-09-30 01:08:25 +00:00
|
|
|
def IIC_iStore_i : InstrItinClass;
|
|
|
|
def IIC_iStore_r : InstrItinClass;
|
|
|
|
def IIC_iStore_si : InstrItinClass;
|
|
|
|
def IIC_iStore_iu : InstrItinClass;
|
|
|
|
def IIC_iStore_ru : InstrItinClass;
|
|
|
|
def IIC_iStore_siu : InstrItinClass;
|
|
|
|
def IIC_iStore_bh_i : InstrItinClass;
|
|
|
|
def IIC_iStore_bh_r : InstrItinClass;
|
|
|
|
def IIC_iStore_bh_si : InstrItinClass;
|
|
|
|
def IIC_iStore_bh_iu : InstrItinClass;
|
|
|
|
def IIC_iStore_bh_ru : InstrItinClass;
|
|
|
|
def IIC_iStore_bh_siu : InstrItinClass;
|
|
|
|
def IIC_iStore_d_i : InstrItinClass;
|
|
|
|
def IIC_iStore_d_r : InstrItinClass;
|
|
|
|
def IIC_iStore_d_ru : InstrItinClass;
|
2010-10-06 06:27:31 +00:00
|
|
|
def IIC_iStore_m : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_iStore_mu : InstrItinClass<0>; // micro-coded
|
2010-11-03 06:34:55 +00:00
|
|
|
def IIC_Preload : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_Br : InstrItinClass;
|
2009-09-21 20:52:17 +00:00
|
|
|
def IIC_fpSTAT : InstrItinClass;
|
|
|
|
def IIC_fpUNA32 : InstrItinClass;
|
|
|
|
def IIC_fpUNA64 : InstrItinClass;
|
|
|
|
def IIC_fpCMP32 : InstrItinClass;
|
|
|
|
def IIC_fpCMP64 : InstrItinClass;
|
|
|
|
def IIC_fpCVTSD : InstrItinClass;
|
|
|
|
def IIC_fpCVTDS : InstrItinClass;
|
2010-04-07 18:19:46 +00:00
|
|
|
def IIC_fpCVTSH : InstrItinClass;
|
|
|
|
def IIC_fpCVTHS : InstrItinClass;
|
2009-09-21 20:52:17 +00:00
|
|
|
def IIC_fpCVTIS : InstrItinClass;
|
|
|
|
def IIC_fpCVTID : InstrItinClass;
|
|
|
|
def IIC_fpCVTSI : InstrItinClass;
|
|
|
|
def IIC_fpCVTDI : InstrItinClass;
|
2010-04-07 18:20:02 +00:00
|
|
|
def IIC_fpMOVIS : InstrItinClass;
|
|
|
|
def IIC_fpMOVID : InstrItinClass;
|
|
|
|
def IIC_fpMOVSI : InstrItinClass;
|
|
|
|
def IIC_fpMOVDI : InstrItinClass;
|
2009-09-21 20:52:17 +00:00
|
|
|
def IIC_fpALU32 : InstrItinClass;
|
|
|
|
def IIC_fpALU64 : InstrItinClass;
|
|
|
|
def IIC_fpMUL32 : InstrItinClass;
|
|
|
|
def IIC_fpMUL64 : InstrItinClass;
|
|
|
|
def IIC_fpMAC32 : InstrItinClass;
|
|
|
|
def IIC_fpMAC64 : InstrItinClass;
|
|
|
|
def IIC_fpDIV32 : InstrItinClass;
|
|
|
|
def IIC_fpDIV64 : InstrItinClass;
|
|
|
|
def IIC_fpSQRT32 : InstrItinClass;
|
|
|
|
def IIC_fpSQRT64 : InstrItinClass;
|
|
|
|
def IIC_fpLoad32 : InstrItinClass;
|
|
|
|
def IIC_fpLoad64 : InstrItinClass;
|
2010-10-07 01:50:48 +00:00
|
|
|
def IIC_fpLoad_m : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_fpLoad_mu : InstrItinClass<0>; // micro-coded
|
2009-09-21 20:52:17 +00:00
|
|
|
def IIC_fpStore32 : InstrItinClass;
|
|
|
|
def IIC_fpStore64 : InstrItinClass;
|
2010-10-07 01:50:48 +00:00
|
|
|
def IIC_fpStore_m : InstrItinClass<0>; // micro-coded
|
|
|
|
def IIC_fpStore_mu : InstrItinClass<0>; // micro-coded
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VLD1 : InstrItinClass;
|
2010-10-09 01:03:04 +00:00
|
|
|
def IIC_VLD1x2 : InstrItinClass;
|
|
|
|
def IIC_VLD1x3 : InstrItinClass;
|
|
|
|
def IIC_VLD1x4 : InstrItinClass;
|
|
|
|
def IIC_VLD1u : InstrItinClass;
|
|
|
|
def IIC_VLD1x2u : InstrItinClass;
|
|
|
|
def IIC_VLD1x3u : InstrItinClass;
|
|
|
|
def IIC_VLD1x4u : InstrItinClass;
|
2010-11-01 22:04:05 +00:00
|
|
|
def IIC_VLD1ln : InstrItinClass;
|
|
|
|
def IIC_VLD1lnu : InstrItinClass;
|
2010-11-27 06:35:16 +00:00
|
|
|
def IIC_VLD1dup : InstrItinClass;
|
|
|
|
def IIC_VLD1dupu : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VLD2 : InstrItinClass;
|
2010-10-09 01:03:04 +00:00
|
|
|
def IIC_VLD2x2 : InstrItinClass;
|
|
|
|
def IIC_VLD2u : InstrItinClass;
|
|
|
|
def IIC_VLD2x2u : InstrItinClass;
|
|
|
|
def IIC_VLD2ln : InstrItinClass;
|
|
|
|
def IIC_VLD2lnu : InstrItinClass;
|
2010-11-28 06:51:26 +00:00
|
|
|
def IIC_VLD2dup : InstrItinClass;
|
|
|
|
def IIC_VLD2dupu : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VLD3 : InstrItinClass;
|
2010-10-09 01:45:34 +00:00
|
|
|
def IIC_VLD3ln : InstrItinClass;
|
|
|
|
def IIC_VLD3u : InstrItinClass;
|
|
|
|
def IIC_VLD3lnu : InstrItinClass;
|
2010-11-29 19:35:29 +00:00
|
|
|
def IIC_VLD3dup : InstrItinClass;
|
|
|
|
def IIC_VLD3dupu : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VLD4 : InstrItinClass;
|
2010-10-09 04:07:58 +00:00
|
|
|
def IIC_VLD4ln : InstrItinClass;
|
|
|
|
def IIC_VLD4u : InstrItinClass;
|
|
|
|
def IIC_VLD4lnu : InstrItinClass;
|
2010-11-30 00:00:35 +00:00
|
|
|
def IIC_VLD4dup : InstrItinClass;
|
|
|
|
def IIC_VLD4dupu : InstrItinClass;
|
2010-10-11 22:03:18 +00:00
|
|
|
def IIC_VST1 : InstrItinClass;
|
|
|
|
def IIC_VST1x2 : InstrItinClass;
|
|
|
|
def IIC_VST1x3 : InstrItinClass;
|
|
|
|
def IIC_VST1x4 : InstrItinClass;
|
|
|
|
def IIC_VST1u : InstrItinClass;
|
|
|
|
def IIC_VST1x2u : InstrItinClass;
|
|
|
|
def IIC_VST1x3u : InstrItinClass;
|
|
|
|
def IIC_VST1x4u : InstrItinClass;
|
2010-11-02 21:18:25 +00:00
|
|
|
def IIC_VST1ln : InstrItinClass;
|
|
|
|
def IIC_VST1lnu : InstrItinClass;
|
2010-10-11 22:03:18 +00:00
|
|
|
def IIC_VST2 : InstrItinClass;
|
|
|
|
def IIC_VST2x2 : InstrItinClass;
|
|
|
|
def IIC_VST2u : InstrItinClass;
|
|
|
|
def IIC_VST2x2u : InstrItinClass;
|
|
|
|
def IIC_VST2ln : InstrItinClass;
|
|
|
|
def IIC_VST2lnu : InstrItinClass;
|
|
|
|
def IIC_VST3 : InstrItinClass;
|
|
|
|
def IIC_VST3u : InstrItinClass;
|
|
|
|
def IIC_VST3ln : InstrItinClass;
|
|
|
|
def IIC_VST3lnu : InstrItinClass;
|
|
|
|
def IIC_VST4 : InstrItinClass;
|
|
|
|
def IIC_VST4u : InstrItinClass;
|
|
|
|
def IIC_VST4ln : InstrItinClass;
|
|
|
|
def IIC_VST4lnu : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VUNAD : InstrItinClass;
|
|
|
|
def IIC_VUNAQ : InstrItinClass;
|
|
|
|
def IIC_VBIND : InstrItinClass;
|
|
|
|
def IIC_VBINQ : InstrItinClass;
|
2010-10-11 23:41:41 +00:00
|
|
|
def IIC_VPBIND : InstrItinClass;
|
|
|
|
def IIC_VFMULD : InstrItinClass;
|
|
|
|
def IIC_VFMULQ : InstrItinClass;
|
2010-10-01 20:50:58 +00:00
|
|
|
def IIC_VMOV : InstrItinClass;
|
2009-09-25 18:38:29 +00:00
|
|
|
def IIC_VMOVImm : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VMOVD : InstrItinClass;
|
|
|
|
def IIC_VMOVQ : InstrItinClass;
|
2009-09-25 18:38:29 +00:00
|
|
|
def IIC_VMOVIS : InstrItinClass;
|
|
|
|
def IIC_VMOVID : InstrItinClass;
|
|
|
|
def IIC_VMOVISL : InstrItinClass;
|
|
|
|
def IIC_VMOVSI : InstrItinClass;
|
|
|
|
def IIC_VMOVDI : InstrItinClass;
|
2010-10-01 20:50:58 +00:00
|
|
|
def IIC_VMOVN : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VPERMD : InstrItinClass;
|
|
|
|
def IIC_VPERMQ : InstrItinClass;
|
|
|
|
def IIC_VPERMQ3 : InstrItinClass;
|
2009-09-25 18:38:29 +00:00
|
|
|
def IIC_VMACD : InstrItinClass;
|
|
|
|
def IIC_VMACQ : InstrItinClass;
|
|
|
|
def IIC_VRECSD : InstrItinClass;
|
|
|
|
def IIC_VRECSQ : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VCNTiD : InstrItinClass;
|
|
|
|
def IIC_VCNTiQ : InstrItinClass;
|
|
|
|
def IIC_VUNAiD : InstrItinClass;
|
|
|
|
def IIC_VUNAiQ : InstrItinClass;
|
|
|
|
def IIC_VQUNAiD : InstrItinClass;
|
|
|
|
def IIC_VQUNAiQ : InstrItinClass;
|
|
|
|
def IIC_VBINiD : InstrItinClass;
|
|
|
|
def IIC_VBINiQ : InstrItinClass;
|
|
|
|
def IIC_VSUBiD : InstrItinClass;
|
|
|
|
def IIC_VSUBiQ : InstrItinClass;
|
|
|
|
def IIC_VBINi4D : InstrItinClass;
|
|
|
|
def IIC_VBINi4Q : InstrItinClass;
|
2010-04-07 18:20:13 +00:00
|
|
|
def IIC_VSUBi4D : InstrItinClass;
|
|
|
|
def IIC_VSUBi4Q : InstrItinClass;
|
2010-04-07 18:20:42 +00:00
|
|
|
def IIC_VABAD : InstrItinClass;
|
|
|
|
def IIC_VABAQ : InstrItinClass;
|
2009-09-25 18:38:29 +00:00
|
|
|
def IIC_VSHLiD : InstrItinClass;
|
|
|
|
def IIC_VSHLiQ : InstrItinClass;
|
|
|
|
def IIC_VSHLi4D : InstrItinClass;
|
|
|
|
def IIC_VSHLi4Q : InstrItinClass;
|
|
|
|
def IIC_VPALiD : InstrItinClass;
|
|
|
|
def IIC_VPALiQ : InstrItinClass;
|
2009-09-23 21:38:08 +00:00
|
|
|
def IIC_VMULi16D : InstrItinClass;
|
|
|
|
def IIC_VMULi32D : InstrItinClass;
|
|
|
|
def IIC_VMULi16Q : InstrItinClass;
|
|
|
|
def IIC_VMULi32Q : InstrItinClass;
|
2009-09-25 18:38:29 +00:00
|
|
|
def IIC_VMACi16D : InstrItinClass;
|
|
|
|
def IIC_VMACi32D : InstrItinClass;
|
|
|
|
def IIC_VMACi16Q : InstrItinClass;
|
|
|
|
def IIC_VMACi32Q : InstrItinClass;
|
|
|
|
def IIC_VEXTD : InstrItinClass;
|
|
|
|
def IIC_VEXTQ : InstrItinClass;
|
|
|
|
def IIC_VTB1 : InstrItinClass;
|
|
|
|
def IIC_VTB2 : InstrItinClass;
|
|
|
|
def IIC_VTB3 : InstrItinClass;
|
|
|
|
def IIC_VTB4 : InstrItinClass;
|
|
|
|
def IIC_VTBX1 : InstrItinClass;
|
|
|
|
def IIC_VTBX2 : InstrItinClass;
|
|
|
|
def IIC_VTBX3 : InstrItinClass;
|
|
|
|
def IIC_VTBX4 : InstrItinClass;
|
2009-06-19 01:51:50 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Processor instruction itineraries.
|
|
|
|
|
2010-09-28 23:50:49 +00:00
|
|
|
def GenericItineraries : ProcessorItineraries<[], [], []>;
|
2009-06-19 01:51:50 +00:00
|
|
|
|
|
|
|
include "ARMScheduleV6.td"
|
2010-04-07 18:22:11 +00:00
|
|
|
include "ARMScheduleA8.td"
|
|
|
|
include "ARMScheduleA9.td"
|