OSDN Git Service

Fix scheduling infor for vmovn and vshrn which I broke accidentially.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 1 Oct 2010 21:48:06 +0000 (21:48 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 1 Oct 2010 21:48:06 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115354 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrNEON.td
lib/Target/ARM/ARMScheduleA8.td

index 93e9e66..0371434 100644 (file)
@@ -3177,7 +3177,7 @@ def  VSHLLi32 : N2VLShMax<1, 1, 0b111010, 0b0011, 0, 0, 0, "vshll", "i32",
                           v2i64, v2i32, NEONvshlli>;
 
 //   VSHRN    : Vector Shift Right and Narrow
-defm VSHRN    : N2VNSh_HSD<0,1,0b1000,0,0,1, IIC_VMOVN, "vshrn", "i",
+defm VSHRN    : N2VNSh_HSD<0,1,0b1000,0,0,1, IIC_VSHLiD, "vshrn", "i",
                            NEONvshrn>;
 
 //   VRSHL    : Vector Rounding Shift
index ef93e1d..915283b 100644 (file)
@@ -531,7 +531,7 @@ def CortexA8Itineraries : ProcessorItineraries<
   //
   // Vector narrow move
   InstrItinData<IIC_VMOVN   , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
-                               InstrStage<1, [A8_NPipe]>], [3, 1]>,
+                               InstrStage<1, [A8_NPipe]>], [2, 1]>,
   //
   // Double-register Permute
   InstrItinData<IIC_VPERMD,   [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,