From 69a4132f63e2aeea5ca3827f44996b1f376f3ac2 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Thu, 15 Mar 2018 14:30:59 +0000 Subject: [PATCH] [X86] Regenerate schedule tests with zero latency comments llvm-svn: 327628 --- llvm/test/CodeGen/X86/mmx-schedule.ll | 10 +- llvm/test/CodeGen/X86/schedule-x86_32.ll | 2 +- llvm/test/CodeGen/X86/schedule-x86_64.ll | 4 +- llvm/test/CodeGen/X86/x87-schedule.ll | 140 +++++++++++------------ 4 files changed, 78 insertions(+), 78 deletions(-) diff --git a/llvm/test/CodeGen/X86/mmx-schedule.ll b/llvm/test/CodeGen/X86/mmx-schedule.ll index 29d6a4710164..fbc2bbadd208 100644 --- a/llvm/test/CodeGen/X86/mmx-schedule.ll +++ b/llvm/test/CodeGen/X86/mmx-schedule.ll @@ -188,8 +188,8 @@ define <4 x float> @test_cvtpi2ps(x86_mmx %a0, x86_mmx* %a1, <4 x float> %a2, <4 ; ; ATOM-LABEL: test_cvtpi2ps: ; ATOM: # %bb.0: -; ATOM-NEXT: cvtpi2ps (%rdi), %xmm1 -; ATOM-NEXT: cvtpi2ps %mm0, %xmm0 +; ATOM-NEXT: cvtpi2ps (%rdi), %xmm1 # sched: [0:?] +; ATOM-NEXT: cvtpi2ps %mm0, %xmm0 # sched: [0:?] ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00] ; ATOM-NEXT: retq # sched: [79:39.50] ; @@ -978,7 +978,7 @@ define <2 x i64> @test_movq2dq(x86_mmx %a0) optsize { ; ; ATOM-LABEL: test_movq2dq: ; ATOM: # %bb.0: -; ATOM-NEXT: movq2dq %mm0, %xmm0 +; ATOM-NEXT: movq2dq %mm0, %xmm0 # sched: [0:?] ; ATOM-NEXT: retq # sched: [79:39.50] ; ; SLM-LABEL: test_movq2dq: @@ -2127,8 +2127,8 @@ define i64 @test_palignr(x86_mmx %a0, x86_mmx %a1, x86_mmx* %a2) optsize { ; ; ATOM-LABEL: test_palignr: ; ATOM: # %bb.0: -; ATOM-NEXT: palignr $1, %mm1, %mm0 -; ATOM-NEXT: palignr $1, (%rdi), %mm0 +; ATOM-NEXT: palignr $1, %mm1, %mm0 # sched: [0:?] +; ATOM-NEXT: palignr $1, (%rdi), %mm0 # sched: [0:?] ; ATOM-NEXT: movq %mm0, %rax # sched: [3:3.00] ; ATOM-NEXT: retq # sched: [79:39.50] ; diff --git a/llvm/test/CodeGen/X86/schedule-x86_32.ll b/llvm/test/CodeGen/X86/schedule-x86_32.ll index f35da4c45198..19c4041b5e0c 100644 --- a/llvm/test/CodeGen/X86/schedule-x86_32.ll +++ b/llvm/test/CodeGen/X86/schedule-x86_32.ll @@ -1198,7 +1198,7 @@ define void @test_into() optsize { ; ATOM-LABEL: test_into: ; ATOM: # %bb.0: ; ATOM-NEXT: #APP -; ATOM-NEXT: into +; ATOM-NEXT: into # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; diff --git a/llvm/test/CodeGen/X86/schedule-x86_64.ll b/llvm/test/CodeGen/X86/schedule-x86_64.ll index 3b13fb69fa77..8511d093998d 100644 --- a/llvm/test/CodeGen/X86/schedule-x86_64.ll +++ b/llvm/test/CodeGen/X86/schedule-x86_64.ll @@ -3139,7 +3139,7 @@ define void @test_bt_btc_btr_bts_64(i64 %a0, i64 %a1, i64 *%a2) optsize { ; ATOM-NEXT: #APP ; ATOM-NEXT: btq %rsi, %rdi # sched: [1:1.00] ; ATOM-NEXT: btcq %rsi, %rdi # sched: [1:1.00] -; ATOM-NEXT: btrq %rsi, %rdi +; ATOM-NEXT: btrq %rsi, %rdi # sched: [0:?] ; ATOM-NEXT: btsq %rsi, %rdi # sched: [1:1.00] ; ATOM-NEXT: btq %rsi, (%rdx) # sched: [9:4.50] ; ATOM-NEXT: btcq %rsi, (%rdx) # sched: [11:5.50] @@ -15720,7 +15720,7 @@ define void @test_ud2() optsize { ; ATOM-LABEL: test_ud2: ; ATOM: # %bb.0: ; ATOM-NEXT: #APP -; ATOM-NEXT: ud2 +; ATOM-NEXT: ud2 # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retq # sched: [79:39.50] ; diff --git a/llvm/test/CodeGen/X86/x87-schedule.ll b/llvm/test/CodeGen/X86/x87-schedule.ll index 37b0f3fe98d1..b8c319cfcd81 100644 --- a/llvm/test/CodeGen/X86/x87-schedule.ll +++ b/llvm/test/CodeGen/X86/x87-schedule.ll @@ -177,10 +177,10 @@ define void @test_fadd(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fadd %st(0), %st(1) -; ATOM-NEXT: fadd %st(2) -; ATOM-NEXT: fadds (%ecx) -; ATOM-NEXT: faddl (%eax) +; ATOM-NEXT: fadd %st(0), %st(1) # sched: [0:?] +; ATOM-NEXT: fadd %st(2) # sched: [0:?] +; ATOM-NEXT: fadds (%ecx) # sched: [0:?] +; ATOM-NEXT: faddl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -301,10 +301,10 @@ define void @test_faddp_fiadd(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: faddp %st(1) -; ATOM-NEXT: faddp %st(2) -; ATOM-NEXT: fiadds (%ecx) -; ATOM-NEXT: fiaddl (%eax) +; ATOM-NEXT: faddp %st(1) # sched: [0:?] +; ATOM-NEXT: faddp %st(2) # sched: [0:?] +; ATOM-NEXT: fiadds (%ecx) # sched: [0:?] +; ATOM-NEXT: fiaddl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -421,8 +421,8 @@ define void @test_fbld_fbstp(i8* %a0) optsize { ; ATOM: # %bb.0: ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fbld (%eax) -; ATOM-NEXT: fbstp (%eax) +; ATOM-NEXT: fbld (%eax) # sched: [0:?] +; ATOM-NEXT: fbstp (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -895,10 +895,10 @@ define void @test_fcom(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fcom %st(1) -; ATOM-NEXT: fcom %st(3) -; ATOM-NEXT: fcoms (%ecx) -; ATOM-NEXT: fcoml (%eax) +; ATOM-NEXT: fcom %st(1) # sched: [0:?] +; ATOM-NEXT: fcom %st(3) # sched: [0:?] +; ATOM-NEXT: fcoms (%ecx) # sched: [0:?] +; ATOM-NEXT: fcoml (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -1020,10 +1020,10 @@ define void @test_fcomp_fcompp(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fcomp %st(1) -; ATOM-NEXT: fcomp %st(3) -; ATOM-NEXT: fcomps (%ecx) -; ATOM-NEXT: fcompl (%eax) +; ATOM-NEXT: fcomp %st(1) # sched: [0:?] +; ATOM-NEXT: fcomp %st(3) # sched: [0:?] +; ATOM-NEXT: fcomps (%ecx) # sched: [0:?] +; ATOM-NEXT: fcompl (%eax) # sched: [0:?] ; ATOM-NEXT: fcompp # sched: [1:1.00] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] @@ -1385,10 +1385,10 @@ define void @test_fdiv(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fdiv %st(0), %st(1) -; ATOM-NEXT: fdiv %st(2) -; ATOM-NEXT: fdivs (%ecx) -; ATOM-NEXT: fdivl (%eax) +; ATOM-NEXT: fdiv %st(0), %st(1) # sched: [0:?] +; ATOM-NEXT: fdiv %st(2) # sched: [0:?] +; ATOM-NEXT: fdivs (%ecx) # sched: [0:?] +; ATOM-NEXT: fdivl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -1509,10 +1509,10 @@ define void @test_fdivp_fidiv(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fdivp %st(1) -; ATOM-NEXT: fdivp %st(2) -; ATOM-NEXT: fidivs (%ecx) -; ATOM-NEXT: fidivl (%eax) +; ATOM-NEXT: fdivp %st(1) # sched: [0:?] +; ATOM-NEXT: fdivp %st(2) # sched: [0:?] +; ATOM-NEXT: fidivs (%ecx) # sched: [0:?] +; ATOM-NEXT: fidivl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -1633,10 +1633,10 @@ define void @test_fdivr(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fdivr %st(0), %st(1) -; ATOM-NEXT: fdivr %st(2) -; ATOM-NEXT: fdivrs (%ecx) -; ATOM-NEXT: fdivrl (%eax) +; ATOM-NEXT: fdivr %st(0), %st(1) # sched: [0:?] +; ATOM-NEXT: fdivr %st(2) # sched: [0:?] +; ATOM-NEXT: fdivrs (%ecx) # sched: [0:?] +; ATOM-NEXT: fdivrl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -1757,10 +1757,10 @@ define void @test_fdivrp_fidivr(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fdivrp %st(1) -; ATOM-NEXT: fdivrp %st(2) -; ATOM-NEXT: fidivrs (%ecx) -; ATOM-NEXT: fidivrl (%eax) +; ATOM-NEXT: fdivrp %st(1) # sched: [0:?] +; ATOM-NEXT: fdivrp %st(2) # sched: [0:?] +; ATOM-NEXT: fidivrs (%ecx) # sched: [0:?] +; ATOM-NEXT: fidivrl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -1955,10 +1955,10 @@ define void @test_ficom(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: ficoms (%ecx) -; ATOM-NEXT: ficoml (%eax) -; ATOM-NEXT: ficomps (%ecx) -; ATOM-NEXT: ficompl (%eax) +; ATOM-NEXT: ficoms (%ecx) # sched: [0:?] +; ATOM-NEXT: ficoml (%eax) # sched: [0:?] +; ATOM-NEXT: ficomps (%ecx) # sched: [0:?] +; ATOM-NEXT: ficompl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -2740,7 +2740,7 @@ define void @test_fldcw_fldenv(i8* %a0) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: #APP ; ATOM-NEXT: fldcw (%eax) # sched: [5:2.50] -; ATOM-NEXT: fldenv (%eax) +; ATOM-NEXT: fldenv (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -2961,10 +2961,10 @@ define void @test_fmul(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fmul %st(0), %st(1) -; ATOM-NEXT: fmul %st(2) -; ATOM-NEXT: fmuls (%ecx) -; ATOM-NEXT: fmull (%eax) +; ATOM-NEXT: fmul %st(0), %st(1) # sched: [0:?] +; ATOM-NEXT: fmul %st(2) # sched: [0:?] +; ATOM-NEXT: fmuls (%ecx) # sched: [0:?] +; ATOM-NEXT: fmull (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -3085,10 +3085,10 @@ define void @test_fmulp_fimul(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fmulp %st(1) -; ATOM-NEXT: fmulp %st(2) -; ATOM-NEXT: fimuls (%ecx) -; ATOM-NEXT: fimull (%eax) +; ATOM-NEXT: fmulp %st(1) # sched: [0:?] +; ATOM-NEXT: fmulp %st(2) # sched: [0:?] +; ATOM-NEXT: fimuls (%ecx) # sched: [0:?] +; ATOM-NEXT: fimull (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -3584,7 +3584,7 @@ define void @test_frstor(i8* %a0) optsize { ; ATOM: # %bb.0: ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: frstor (%eax) +; ATOM-NEXT: frstor (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -3670,7 +3670,7 @@ define void @test_fsave(i8* %a0) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: #APP ; ATOM-NEXT: wait # sched: [1:0.50] -; ATOM-NEXT: fnsave (%eax) +; ATOM-NEXT: fnsave (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -3762,7 +3762,7 @@ define void @test_fnsave(i8* %a0) optsize { ; ATOM: # %bb.0: ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fnsave (%eax) +; ATOM-NEXT: fnsave (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -4314,9 +4314,9 @@ define void @test_fstcw_fstenv_fstsw(i8* %a0) optsize { ; ATOM-NEXT: wait # sched: [1:0.50] ; ATOM-NEXT: fnstcw (%eax) # sched: [8:4.00] ; ATOM-NEXT: wait # sched: [1:0.50] -; ATOM-NEXT: fnstenv (%eax) +; ATOM-NEXT: fnstenv (%eax) # sched: [0:?] ; ATOM-NEXT: wait # sched: [1:0.50] -; ATOM-NEXT: fnstsw (%eax) +; ATOM-NEXT: fnstsw (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -4443,8 +4443,8 @@ define void @test_fnstcw_fnstenv_fnstsw(i8* %a0) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: #APP ; ATOM-NEXT: fnstcw (%eax) # sched: [8:4.00] -; ATOM-NEXT: fnstenv (%eax) -; ATOM-NEXT: fnstsw (%eax) +; ATOM-NEXT: fnstenv (%eax) # sched: [0:?] +; ATOM-NEXT: fnstsw (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -4549,10 +4549,10 @@ define void @test_fsub(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fsub %st(0), %st(1) -; ATOM-NEXT: fsub %st(2) -; ATOM-NEXT: fsubs (%ecx) -; ATOM-NEXT: fsubl (%eax) +; ATOM-NEXT: fsub %st(0), %st(1) # sched: [0:?] +; ATOM-NEXT: fsub %st(2) # sched: [0:?] +; ATOM-NEXT: fsubs (%ecx) # sched: [0:?] +; ATOM-NEXT: fsubl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -4673,10 +4673,10 @@ define void @test_fsubp_fisub(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fsubp %st(1) -; ATOM-NEXT: fsubp %st(2) -; ATOM-NEXT: fisubs (%ecx) -; ATOM-NEXT: fisubl (%eax) +; ATOM-NEXT: fsubp %st(1) # sched: [0:?] +; ATOM-NEXT: fsubp %st(2) # sched: [0:?] +; ATOM-NEXT: fisubs (%ecx) # sched: [0:?] +; ATOM-NEXT: fisubl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -4797,10 +4797,10 @@ define void @test_fsubr(float *%a0, double *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fsubr %st(0), %st(1) -; ATOM-NEXT: fsubr %st(2) -; ATOM-NEXT: fsubrs (%ecx) -; ATOM-NEXT: fsubrl (%eax) +; ATOM-NEXT: fsubr %st(0), %st(1) # sched: [0:?] +; ATOM-NEXT: fsubr %st(2) # sched: [0:?] +; ATOM-NEXT: fsubrs (%ecx) # sched: [0:?] +; ATOM-NEXT: fsubrl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ; @@ -4921,10 +4921,10 @@ define void @test_fsubrp_fisubr(i16 *%a0, i32 *%a1) optsize { ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %eax # sched: [1:1.00] ; ATOM-NEXT: movl {{[0-9]+}}(%esp), %ecx # sched: [1:1.00] ; ATOM-NEXT: #APP -; ATOM-NEXT: fsubrp %st(1) -; ATOM-NEXT: fsubrp %st(2) -; ATOM-NEXT: fisubrs (%ecx) -; ATOM-NEXT: fisubrl (%eax) +; ATOM-NEXT: fsubrp %st(1) # sched: [0:?] +; ATOM-NEXT: fsubrp %st(2) # sched: [0:?] +; ATOM-NEXT: fisubrs (%ecx) # sched: [0:?] +; ATOM-NEXT: fisubrl (%eax) # sched: [0:?] ; ATOM-NEXT: #NO_APP ; ATOM-NEXT: retl # sched: [79:39.50] ;