forked from OSchip/llvm-project
The Cortex-A9 machine model is incomplete. Mark it as such.
Many vector operations never had itineraries. Since the new machine model was a mapping from existing itinerary classes, we don't have a model for these. We still want to migrate A9 even though no one has invested in a complete model, so mark it incomplete to avoid the scheduler asserting. llvm-svn: 198123
This commit is contained in:
parent
d14d7c20f5
commit
03b22e39be
|
@ -1894,6 +1894,10 @@ def CortexA9Model : SchedMachineModel {
|
|||
let MispredictPenalty = 8; // Based on estimate of pipeline depth.
|
||||
|
||||
let Itineraries = CortexA9Itineraries;
|
||||
|
||||
// FIXME: Many vector operations were never given an itinerary. We
|
||||
// haven't mapped these to the new model either.
|
||||
let CompleteModel = 0;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -2397,6 +2401,7 @@ def :ItinRW<[A9WriteV3, A9Read2], [IIC_VSUBiD, IIC_VSUBiQ, IIC_VCNTiD]>;
|
|||
// ...
|
||||
// VHADD/VRHADD/VQADD/VTST/VADH/VRADH
|
||||
def :ItinRW<[A9WriteV4, A9Read2, A9Read2], [IIC_VBINi4D, IIC_VBINi4Q]>;
|
||||
|
||||
// VSBH/VRSBH/VHSUB/VQSUB/VABD/VCEQ/VCGE/VCGT/VMAX/VMIN/VPMAX/VPMIN/VABDL
|
||||
def :ItinRW<[A9WriteV4, A9Read2], [IIC_VSUBi4D, IIC_VSUBi4Q]>;
|
||||
// VQNEG/VQABS
|
||||
|
|
Loading…
Reference in New Issue