2012-02-18 20:03:15 +08:00
|
|
|
//===-- ARMScheduleV6.td - ARM v6 Scheduling Definitions ---*- tablegen -*-===//
|
|
|
|
//
|
2009-06-19 09:51:50 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2012-02-18 20:03:15 +08:00
|
|
|
//
|
2009-06-19 09:51:50 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the itinerary class data for the ARM v6 processors.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2009-11-19 02:39:57 +08:00
|
|
|
// Model based on ARM1176
|
|
|
|
//
|
2010-04-19 04:31:01 +08:00
|
|
|
// Functional Units
|
|
|
|
def V6_Pipe : FuncUnit; // pipeline
|
|
|
|
|
2010-06-03 05:53:11 +08:00
|
|
|
// Scheduling information derived from "ARM1176JZF-S Technical Reference Manual"
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
2010-04-19 04:31:01 +08:00
|
|
|
def ARMV6Itineraries : ProcessorItineraries<
|
2010-09-29 07:50:49 +08:00
|
|
|
[V6_Pipe], [], [
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// No operand cycles
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iALUx , [InstrStage<1, [V6_Pipe]>]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Binary Instructions that produce a result
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iALUi , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iALUr , [InstrStage<1, [V6_Pipe]>], [2, 2, 2]>,
|
|
|
|
InstrItinData<IIC_iALUsi , [InstrStage<1, [V6_Pipe]>], [2, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iALUsr , [InstrStage<2, [V6_Pipe]>], [3, 3, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
2010-09-29 08:27:46 +08:00
|
|
|
// Bitwise Instructions that produce a result
|
|
|
|
InstrItinData<IIC_iBITi , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iBITr , [InstrStage<1, [V6_Pipe]>], [2, 2, 2]>,
|
|
|
|
InstrItinData<IIC_iBITsi , [InstrStage<1, [V6_Pipe]>], [2, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iBITsr , [InstrStage<2, [V6_Pipe]>], [3, 3, 2, 1]>,
|
|
|
|
//
|
2009-11-19 02:39:57 +08:00
|
|
|
// Unary Instructions that produce a result
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iUNAr , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iUNAsi , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
2010-09-25 08:49:35 +08:00
|
|
|
// Zero and sign extension instructions
|
|
|
|
InstrItinData<IIC_iEXTr , [InstrStage<1, [V6_Pipe]>], [1, 1]>,
|
|
|
|
InstrItinData<IIC_iEXTAr , [InstrStage<1, [V6_Pipe]>], [2, 2, 1]>,
|
2010-09-29 08:27:46 +08:00
|
|
|
InstrItinData<IIC_iEXTAsr , [InstrStage<2, [V6_Pipe]>], [3, 3, 2, 1]>,
|
2010-09-25 08:49:35 +08:00
|
|
|
//
|
2009-11-19 02:39:57 +08:00
|
|
|
// Compare instructions
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iCMPi , [InstrStage<1, [V6_Pipe]>], [2]>,
|
|
|
|
InstrItinData<IIC_iCMPr , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iCMPsi , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
|
|
|
InstrItinData<IIC_iCMPsr , [InstrStage<2, [V6_Pipe]>], [3, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
2010-09-29 08:49:25 +08:00
|
|
|
// Test instructions
|
|
|
|
InstrItinData<IIC_iTSTi , [InstrStage<1, [V6_Pipe]>], [2]>,
|
|
|
|
InstrItinData<IIC_iTSTr , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iTSTsi , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
|
|
|
InstrItinData<IIC_iTSTsr , [InstrStage<2, [V6_Pipe]>], [3, 2, 1]>,
|
|
|
|
//
|
2009-11-19 02:39:57 +08:00
|
|
|
// Move instructions, unconditional
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iMOVi , [InstrStage<1, [V6_Pipe]>], [2]>,
|
|
|
|
InstrItinData<IIC_iMOVr , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iMOVsi , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
|
|
|
InstrItinData<IIC_iMOVsr , [InstrStage<2, [V6_Pipe]>], [3, 2, 1]>,
|
2010-09-25 06:41:41 +08:00
|
|
|
InstrItinData<IIC_iMOVix2 , [InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [2]>,
|
2011-01-20 16:34:58 +08:00
|
|
|
InstrItinData<IIC_iMOVix2addpc,[InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [3]>,
|
|
|
|
InstrItinData<IIC_iMOVix2ld , [InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [5]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Move instructions, conditional
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iCMOVi , [InstrStage<1, [V6_Pipe]>], [3]>,
|
|
|
|
InstrItinData<IIC_iCMOVr , [InstrStage<1, [V6_Pipe]>], [3, 2]>,
|
|
|
|
InstrItinData<IIC_iCMOVsi , [InstrStage<1, [V6_Pipe]>], [3, 1]>,
|
|
|
|
InstrItinData<IIC_iCMOVsr , [InstrStage<1, [V6_Pipe]>], [4, 2, 1]>,
|
2010-11-13 13:14:20 +08:00
|
|
|
InstrItinData<IIC_iCMOVix2 , [InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [4]>,
|
2010-09-29 08:49:25 +08:00
|
|
|
//
|
|
|
|
// MVN instructions
|
|
|
|
InstrItinData<IIC_iMVNi , [InstrStage<1, [V6_Pipe]>], [2]>,
|
|
|
|
InstrItinData<IIC_iMVNr , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
|
|
|
InstrItinData<IIC_iMVNsi , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
|
|
|
InstrItinData<IIC_iMVNsr , [InstrStage<2, [V6_Pipe]>], [3, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
|
|
|
|
// Integer multiply pipeline
|
|
|
|
//
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_iMUL16 , [InstrStage<1, [V6_Pipe]>], [4, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iMAC16 , [InstrStage<1, [V6_Pipe]>], [4, 1, 1, 2]>,
|
|
|
|
InstrItinData<IIC_iMUL32 , [InstrStage<2, [V6_Pipe]>], [5, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iMAC32 , [InstrStage<2, [V6_Pipe]>], [5, 1, 1, 2]>,
|
|
|
|
InstrItinData<IIC_iMUL64 , [InstrStage<3, [V6_Pipe]>], [6, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iMAC64 , [InstrStage<3, [V6_Pipe]>], [6, 1, 1, 2]>,
|
2014-04-04 07:43:18 +08:00
|
|
|
|
2009-11-19 02:39:57 +08:00
|
|
|
// Integer load pipeline
|
|
|
|
//
|
|
|
|
// Immediate offset
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iLoad_i , [InstrStage<1, [V6_Pipe]>], [4, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_bh_i, [InstrStage<1, [V6_Pipe]>], [4, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_d_i , [InstrStage<1, [V6_Pipe]>], [4, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Register offset
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iLoad_r , [InstrStage<1, [V6_Pipe]>], [4, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_bh_r, [InstrStage<1, [V6_Pipe]>], [4, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_d_r , [InstrStage<1, [V6_Pipe]>], [4, 1, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Scaled register offset, issues over 2 cycles
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iLoad_si , [InstrStage<2, [V6_Pipe]>], [5, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_bh_si, [InstrStage<2, [V6_Pipe]>], [5, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Immediate offset with update
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iLoad_iu , [InstrStage<1, [V6_Pipe]>], [4, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_bh_iu, [InstrStage<1, [V6_Pipe]>], [4, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Register offset with update
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iLoad_ru , [InstrStage<1, [V6_Pipe]>], [4, 2, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_bh_ru, [InstrStage<1, [V6_Pipe]>], [4, 2, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_d_ru , [InstrStage<1, [V6_Pipe]>], [4, 2, 1, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Scaled register offset with update, issues over 2 cycles
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iLoad_siu, [InstrStage<2, [V6_Pipe]>], [5, 2, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iLoad_bh_siu,[InstrStage<2, [V6_Pipe]>], [5, 2, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
|
|
|
|
//
|
2010-10-06 14:27:31 +08:00
|
|
|
// Load multiple, def is the 5th operand.
|
|
|
|
InstrItinData<IIC_iLoad_m , [InstrStage<3, [V6_Pipe]>], [1, 1, 1, 1, 4]>,
|
|
|
|
//
|
|
|
|
// Load multiple + update, defs are the 1st and 5th operands.
|
|
|
|
InstrItinData<IIC_iLoad_mu , [InstrStage<3, [V6_Pipe]>], [2, 1, 1, 1, 4]>,
|
2010-09-10 02:18:55 +08:00
|
|
|
//
|
|
|
|
// Load multiple plus branch
|
2010-10-06 14:27:31 +08:00
|
|
|
InstrItinData<IIC_iLoad_mBr, [InstrStage<3, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [1, 2, 1, 1, 4]>,
|
2010-09-10 02:18:55 +08:00
|
|
|
|
2010-09-25 06:41:41 +08:00
|
|
|
//
|
|
|
|
// iLoadi + iALUr for t2LDRpci_pic.
|
|
|
|
InstrItinData<IIC_iLoadiALU, [InstrStage<1, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [3, 1]>,
|
|
|
|
|
2010-10-06 14:27:31 +08:00
|
|
|
//
|
|
|
|
// Pop, def is the 3rd operand.
|
|
|
|
InstrItinData<IIC_iPop , [InstrStage<3, [V6_Pipe]>], [1, 1, 4]>,
|
|
|
|
//
|
|
|
|
// Pop + branch, def is the 3rd operand.
|
|
|
|
InstrItinData<IIC_iPop_Br, [InstrStage<3, [V6_Pipe]>,
|
|
|
|
InstrStage<1, [V6_Pipe]>], [1, 2, 4]>,
|
|
|
|
|
2009-11-19 02:39:57 +08:00
|
|
|
// Integer store pipeline
|
|
|
|
//
|
|
|
|
// Immediate offset
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iStore_i , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_bh_i, [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_d_i , [InstrStage<1, [V6_Pipe]>], [2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Register offset
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iStore_r , [InstrStage<1, [V6_Pipe]>], [2, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_bh_r, [InstrStage<1, [V6_Pipe]>], [2, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_d_r , [InstrStage<1, [V6_Pipe]>], [2, 1, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Scaled register offset, issues over 2 cycles
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iStore_si , [InstrStage<2, [V6_Pipe]>], [2, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_bh_si, [InstrStage<2, [V6_Pipe]>], [2, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Immediate offset with update
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iStore_iu , [InstrStage<1, [V6_Pipe]>], [2, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_bh_iu, [InstrStage<1, [V6_Pipe]>], [2, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Register offset with update
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iStore_ru, [InstrStage<1, [V6_Pipe]>], [2, 2, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_bh_ru,[InstrStage<1, [V6_Pipe]>], [2, 2, 1, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_d_ru, [InstrStage<1, [V6_Pipe]>], [2, 2, 1, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Scaled register offset with update, issues over 2 cycles
|
2010-09-30 09:08:25 +08:00
|
|
|
InstrItinData<IIC_iStore_siu, [InstrStage<2, [V6_Pipe]>], [2, 2, 2, 1]>,
|
|
|
|
InstrItinData<IIC_iStore_bh_siu,[InstrStage<2, [V6_Pipe]>], [2, 2, 2, 1]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Store multiple
|
2010-10-06 14:27:31 +08:00
|
|
|
InstrItinData<IIC_iStore_m , [InstrStage<3, [V6_Pipe]>]>,
|
|
|
|
//
|
|
|
|
// Store multiple + update
|
|
|
|
InstrItinData<IIC_iStore_mu , [InstrStage<3, [V6_Pipe]>], [2]>,
|
2014-04-04 07:43:18 +08:00
|
|
|
|
2009-11-19 02:39:57 +08:00
|
|
|
// Branch
|
|
|
|
//
|
|
|
|
// no delay slots, so the latency of a branch is unimportant
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_Br , [InstrStage<1, [V6_Pipe]>]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
|
|
|
|
// VFP
|
|
|
|
// Issue through integer pipeline, and execute in NEON unit. We assume
|
|
|
|
// RunFast mode so that NFP pipeline is used for single-precision when
|
|
|
|
// possible.
|
|
|
|
//
|
|
|
|
// FP Special Register to Integer Register File Move
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpSTAT , [InstrStage<1, [V6_Pipe]>], [3]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP Unary
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpUNA32 , [InstrStage<1, [V6_Pipe]>], [5, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP Unary
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpUNA64 , [InstrStage<1, [V6_Pipe]>], [5, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP Compare
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCMP32 , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP Compare
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCMP64 , [InstrStage<1, [V6_Pipe]>], [2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single to Double FP Convert
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCVTSD , [InstrStage<1, [V6_Pipe]>], [5, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double to Single FP Convert
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCVTDS , [InstrStage<1, [V6_Pipe]>], [5, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-Precision FP to Integer Convert
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCVTSI , [InstrStage<1, [V6_Pipe]>], [9, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-Precision FP to Integer Convert
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCVTDI , [InstrStage<1, [V6_Pipe]>], [9, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Integer to Single-Precision FP Convert
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCVTIS , [InstrStage<1, [V6_Pipe]>], [9, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Integer to Double-Precision FP Convert
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpCVTID , [InstrStage<1, [V6_Pipe]>], [9, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP ALU
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpALU32 , [InstrStage<1, [V6_Pipe]>], [9, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP ALU
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpALU64 , [InstrStage<1, [V6_Pipe]>], [9, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP Multiply
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpMUL32 , [InstrStage<1, [V6_Pipe]>], [9, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP Multiply
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpMUL64 , [InstrStage<2, [V6_Pipe]>], [9, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP MAC
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpMAC32 , [InstrStage<1, [V6_Pipe]>], [9, 2, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP MAC
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpMAC64 , [InstrStage<2, [V6_Pipe]>], [9, 2, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
2012-04-11 08:13:00 +08:00
|
|
|
// Single-precision Fused FP MAC
|
|
|
|
InstrItinData<IIC_fpFMAC32, [InstrStage<1, [V6_Pipe]>], [9, 2, 2, 2]>,
|
|
|
|
//
|
|
|
|
// Double-precision Fused FP MAC
|
|
|
|
InstrItinData<IIC_fpFMAC64, [InstrStage<2, [V6_Pipe]>], [9, 2, 2, 2]>,
|
|
|
|
//
|
2009-11-19 02:39:57 +08:00
|
|
|
// Single-precision FP DIV
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpDIV32 , [InstrStage<15, [V6_Pipe]>], [20, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP DIV
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpDIV64 , [InstrStage<29, [V6_Pipe]>], [34, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP SQRT
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpSQRT32 , [InstrStage<15, [V6_Pipe]>], [20, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP SQRT
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpSQRT64 , [InstrStage<29, [V6_Pipe]>], [34, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
2010-10-21 11:40:16 +08:00
|
|
|
// Integer to Single-precision Move
|
|
|
|
InstrItinData<IIC_fpMOVIS, [InstrStage<1, [V6_Pipe]>], [10, 1]>,
|
|
|
|
//
|
|
|
|
// Integer to Double-precision Move
|
|
|
|
InstrItinData<IIC_fpMOVID, [InstrStage<1, [V6_Pipe]>], [10, 1, 1]>,
|
|
|
|
//
|
|
|
|
// Single-precision to Integer Move
|
|
|
|
InstrItinData<IIC_fpMOVSI, [InstrStage<1, [V6_Pipe]>], [10, 1]>,
|
|
|
|
//
|
|
|
|
// Double-precision to Integer Move
|
|
|
|
InstrItinData<IIC_fpMOVDI, [InstrStage<1, [V6_Pipe]>], [10, 10, 1]>,
|
|
|
|
//
|
2009-11-19 02:39:57 +08:00
|
|
|
// Single-precision FP Load
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpLoad32 , [InstrStage<1, [V6_Pipe]>], [5, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP Load
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpLoad64 , [InstrStage<1, [V6_Pipe]>], [5, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// FP Load Multiple
|
2010-10-07 09:50:48 +08:00
|
|
|
InstrItinData<IIC_fpLoad_m , [InstrStage<3, [V6_Pipe]>], [2, 1, 1, 5]>,
|
|
|
|
//
|
|
|
|
// FP Load Multiple + update
|
|
|
|
InstrItinData<IIC_fpLoad_mu, [InstrStage<3, [V6_Pipe]>], [3, 2, 1, 1, 5]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Single-precision FP Store
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpStore32 , [InstrStage<1, [V6_Pipe]>], [2, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// Double-precision FP Store
|
|
|
|
// use FU_Issue to enforce the 1 load/store per cycle limit
|
2010-04-19 04:31:01 +08:00
|
|
|
InstrItinData<IIC_fpStore64 , [InstrStage<1, [V6_Pipe]>], [2, 2, 2]>,
|
2009-11-19 02:39:57 +08:00
|
|
|
//
|
|
|
|
// FP Store Multiple
|
2010-10-07 09:50:48 +08:00
|
|
|
InstrItinData<IIC_fpStore_m, [InstrStage<3, [V6_Pipe]>], [2, 2, 2, 2]>,
|
|
|
|
//
|
|
|
|
// FP Store Multiple + update
|
|
|
|
InstrItinData<IIC_fpStore_mu,[InstrStage<3, [V6_Pipe]>], [3, 2, 2, 2, 2]>
|
2009-11-19 02:39:57 +08:00
|
|
|
]>;
|