[llvm] r330498 - [X86][X87] Add missing fldlg2 schedule test
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 21 03:35:04 PDT 2018
Author: rksimon
Date: Sat Apr 21 03:35:04 2018
New Revision: 330498
URL: http://llvm.org/viewvc/llvm-project?rev=330498&view=rev
Log:
[X86][X87] Add missing fldlg2 schedule test
Modified:
llvm/trunk/test/CodeGen/X86/x87-schedule.ll
Modified: llvm/trunk/test/CodeGen/X86/x87-schedule.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/x87-schedule.ll?rev=330498&r1=330497&r2=330498&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/x87-schedule.ll (original)
+++ llvm/trunk/test/CodeGen/X86/x87-schedule.ll Sat Apr 21 03:35:04 2018
@@ -2826,6 +2826,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; GENERIC-NEXT: fld1
; GENERIC-NEXT: fldl2e
; GENERIC-NEXT: fldl2t
+; GENERIC-NEXT: fldlg2
; GENERIC-NEXT: fldln2
; GENERIC-NEXT: fldpi
; GENERIC-NEXT: fldz
@@ -2838,6 +2839,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; ATOM-NEXT: fld1 # sched: [6:3.00]
; ATOM-NEXT: fldl2e # sched: [10:5.00]
; ATOM-NEXT: fldl2t # sched: [10:5.00]
+; ATOM-NEXT: fldlg2 # sched: [10:5.00]
; ATOM-NEXT: fldln2 # sched: [10:5.00]
; ATOM-NEXT: fldpi # sched: [10:5.00]
; ATOM-NEXT: fldz # sched: [1:0.50]
@@ -2850,6 +2852,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; SLM-NEXT: fld1 # sched: [1:?]
; SLM-NEXT: fldl2e # sched: [100:1.00]
; SLM-NEXT: fldl2t # sched: [100:1.00]
+; SLM-NEXT: fldlg2 # sched: [100:1.00]
; SLM-NEXT: fldln2 # sched: [100:1.00]
; SLM-NEXT: fldpi # sched: [100:1.00]
; SLM-NEXT: fldz # sched: [1:?]
@@ -2862,6 +2865,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; SANDY-NEXT: fld1 # sched: [1:?]
; SANDY-NEXT: fldl2e # sched: [100:0.33]
; SANDY-NEXT: fldl2t # sched: [100:0.33]
+; SANDY-NEXT: fldlg2 # sched: [100:0.33]
; SANDY-NEXT: fldln2 # sched: [100:0.33]
; SANDY-NEXT: fldpi # sched: [100:0.33]
; SANDY-NEXT: fldz # sched: [1:?]
@@ -2874,6 +2878,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; HASWELL-NEXT: fld1 # sched: [1:?]
; HASWELL-NEXT: fldl2e # sched: [1:0.50]
; HASWELL-NEXT: fldl2t # sched: [1:0.50]
+; HASWELL-NEXT: fldlg2 # sched: [1:0.50]
; HASWELL-NEXT: fldln2 # sched: [1:0.50]
; HASWELL-NEXT: fldpi # sched: [1:0.50]
; HASWELL-NEXT: fldz # sched: [1:0.50]
@@ -2886,6 +2891,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; BROADWELL-NEXT: fld1 # sched: [1:?]
; BROADWELL-NEXT: fldl2e # sched: [100:0.25]
; BROADWELL-NEXT: fldl2t # sched: [100:0.25]
+; BROADWELL-NEXT: fldlg2 # sched: [100:0.25]
; BROADWELL-NEXT: fldln2 # sched: [100:0.25]
; BROADWELL-NEXT: fldpi # sched: [100:0.25]
; BROADWELL-NEXT: fldz # sched: [1:?]
@@ -2898,6 +2904,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; SKYLAKE-NEXT: fld1 # sched: [1:?]
; SKYLAKE-NEXT: fldl2e # sched: [100:0.25]
; SKYLAKE-NEXT: fldl2t # sched: [100:0.25]
+; SKYLAKE-NEXT: fldlg2 # sched: [100:0.25]
; SKYLAKE-NEXT: fldln2 # sched: [100:0.25]
; SKYLAKE-NEXT: fldpi # sched: [100:0.25]
; SKYLAKE-NEXT: fldz # sched: [1:?]
@@ -2910,6 +2917,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; SKX-NEXT: fld1 # sched: [1:?]
; SKX-NEXT: fldl2e # sched: [100:0.25]
; SKX-NEXT: fldl2t # sched: [100:0.25]
+; SKX-NEXT: fldlg2 # sched: [100:0.25]
; SKX-NEXT: fldln2 # sched: [100:0.25]
; SKX-NEXT: fldpi # sched: [100:0.25]
; SKX-NEXT: fldz # sched: [1:?]
@@ -2922,6 +2930,7 @@ define void @test_fld1_fldl2e_fldl2t_fld
; BTVER2-NEXT: fld1 # sched: [1:?]
; BTVER2-NEXT: fldl2e # sched: [100:0.50]
; BTVER2-NEXT: fldl2t # sched: [100:0.50]
+; BTVER2-NEXT: fldlg2 # sched: [100:0.50]
; BTVER2-NEXT: fldln2 # sched: [100:0.50]
; BTVER2-NEXT: fldpi # sched: [100:0.50]
; BTVER2-NEXT: fldz # sched: [1:?]
@@ -2934,12 +2943,13 @@ define void @test_fld1_fldl2e_fldl2t_fld
; ZNVER1-NEXT: fld1 # sched: [11:1.00]
; ZNVER1-NEXT: fldl2e # sched: [11:1.00]
; ZNVER1-NEXT: fldl2t # sched: [11:1.00]
+; ZNVER1-NEXT: fldlg2 # sched: [11:1.00]
; ZNVER1-NEXT: fldln2 # sched: [11:1.00]
; ZNVER1-NEXT: fldpi # sched: [11:1.00]
; ZNVER1-NEXT: fldz # sched: [8:0.50]
; ZNVER1-NEXT: #NO_APP
; ZNVER1-NEXT: retl # sched: [1:0.50]
- tail call void asm sideeffect "fld1 \0A\09 fldl2e \0A\09 fldl2t \0A\09 fldln2 \0A\09 fldpi \0A\09 fldz", ""() nounwind
+ tail call void asm sideeffect "fld1 \0A\09 fldl2e \0A\09 fldl2t \0A\09 fldlg2 \0A\09 fldln2 \0A\09 fldpi \0A\09 fldz", ""() nounwind
ret void
}
More information about the llvm-commits
mailing list