mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Use VLD1 in NEON extenting-load patterns instead of VLDR.
On some cores it's a bad idea for performance to mix VFP and NEON instructions and since these patterns are NEON anyway, the NEON load should be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,9 @@ define float @f(<4 x i16>* nocapture %in) {
|
||||
|
||||
; CHECK: g:
|
||||
define float @g(<4 x i8>* nocapture %in) {
|
||||
; CHECK: vldr
|
||||
; Note: vld1 here is reasonably important. Mixing VFP and NEON
|
||||
; instructions is bad on some cores
|
||||
; CHECK: vld1
|
||||
; CHECK: vmovl.u8
|
||||
; CHECK: vmovl.u16
|
||||
%1 = load <4 x i8>* %in
|
||||
@@ -47,7 +49,9 @@ define <4 x i8> @h(<4 x float> %v) {
|
||||
|
||||
; CHECK: i:
|
||||
define <4 x i8> @i(<4 x i8>* %x) {
|
||||
; CHECK: vldr
|
||||
; Note: vld1 here is reasonably important. Mixing VFP and NEON
|
||||
; instructions is bad on some cores
|
||||
; CHECK: vld1
|
||||
; CHECK: vmovl.s8
|
||||
; CHECK: vmovl.s16
|
||||
; CHECK: vrecpe
|
||||
|
||||
Reference in New Issue
Block a user