[X86][Haswell][Znver1] Fix typo in fldl instregexs

Missing comma was casing 2 instregex entries to be concatenated together by mistake.

Found while investigating PR35548

llvm-svn: 327992
This commit is contained in:
Simon Pilgrim 2018-03-20 15:44:47 +00:00
parent ca08d2402f
commit 62690e9d0e
3 changed files with 8 additions and 8 deletions

View File

@ -437,7 +437,7 @@ def : InstRW<[WriteP01], (instregex "ST_(F|FP)rr")>;
def : InstRW<[WriteP01], (instregex "LD_F0")>;
// FLDPI FLDL2E etc.
def : InstRW<[Write2P01], (instregex "FLDPI", "FLDL2(T|E)" "FLDL(G|N)2")>;
def : InstRW<[Write2P01], (instregex "FLDPI", "FLDL2(T|E)", "FLDL(G|N)2")>;
// FFREE.
def : InstRW<[WriteP01], (instregex "FFREE")>;

View File

@ -767,7 +767,7 @@ def : InstRW<[ZnWriteFPU13], (instregex "LD_F0")>;
def : InstRW<[ZnWriteFPU3], (instregex "LD_F1")>;
// FLDPI FLDL2E etc.
def : InstRW<[ZnWriteFPU3], (instregex "FLDPI", "FLDL2(T|E)" "FLDL(G|N)2")>;
def : InstRW<[ZnWriteFPU3], (instregex "FLDPI", "FLDL2(T|E)", "FLDL(G|N)2")>;
def : InstRW<[WriteMicrocoded], (instregex "CMOV(B|BE|E|P|NB|NBE|NE|NP)_F")>;

View File

@ -2872,9 +2872,9 @@ define void @test_fld1_fldl2e_fldl2t_fldlg2_fldln2_fldpi_fldz() optsize {
; HASWELL: # %bb.0:
; HASWELL-NEXT: #APP
; HASWELL-NEXT: fld1 # sched: [1:?]
; HASWELL-NEXT: fldl2e # sched: [100:0.25]
; HASWELL-NEXT: fldl2t # sched: [100:0.25]
; HASWELL-NEXT: fldln2 # sched: [100:0.25]
; HASWELL-NEXT: fldl2e # sched: [1:0.50]
; HASWELL-NEXT: fldl2t # 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]
; HASWELL-NEXT: #NO_APP
@ -2932,9 +2932,9 @@ define void @test_fld1_fldl2e_fldl2t_fldlg2_fldln2_fldpi_fldz() optsize {
; ZNVER1: # %bb.0:
; ZNVER1-NEXT: #APP
; ZNVER1-NEXT: fld1 # sched: [11:1.00]
; ZNVER1-NEXT: fldl2e # sched: [100:?]
; ZNVER1-NEXT: fldl2t # sched: [100:?]
; ZNVER1-NEXT: fldln2 # sched: [100:?]
; ZNVER1-NEXT: fldl2e # sched: [11:1.00]
; ZNVER1-NEXT: fldl2t # 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