From f3d30a7aca4e68a2f644136b319e6be9653bfcd0 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Mon, 12 Oct 2015 14:16:52 +0000 Subject: [PATCH] [mips] Whitespace cleanup in MIPS16 tests to reduce noise in following changes. NFC. Mostly tabs -> spaces and double spacing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250041 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Mips/hf16call32.ll | 312 +++++++++++++-------------- test/CodeGen/Mips/hf16call32_body.ll | 204 +++++++++--------- test/CodeGen/Mips/hf1_body.ll | 18 +- 3 files changed, 267 insertions(+), 267 deletions(-) diff --git a/test/CodeGen/Mips/hf16call32.ll b/test/CodeGen/Mips/hf16call32.ll index 3b3f8f79911..8ae962ed237 100644 --- a/test/CodeGen/Mips/hf16call32.ll +++ b/test/CodeGen/Mips/hf16call32.ll @@ -751,280 +751,280 @@ land.end289: ; preds = %land.rhs286, %land. } declare void @v_sf(float) #1 -; stel: .section .mips16.call.fp.v_sf,"ax",@progbits -; stel: .ent __call_stub_fp_v_sf -; stel: mtc1 $4,$f12 -; stel: lui $25,%hi(v_sf) -; stel: addiu $25,$25,%lo(v_sf) -; stel: jr $25 -; stel: .end __call_stub_fp_v_sf +; stel: .section .mips16.call.fp.v_sf,"ax",@progbits +; stel: .ent __call_stub_fp_v_sf +; stel: mtc1 $4,$f12 +; stel: lui $25,%hi(v_sf) +; stel: addiu $25,$25,%lo(v_sf) +; stel: jr $25 +; stel: .end __call_stub_fp_v_sf declare i32 @printf(i8*, ...) #1 declare void @v_df(double) #1 -; stel: .section .mips16.call.fp.v_df,"ax",@progbits -; stel: .ent __call_stub_fp_v_df +; stel: .section .mips16.call.fp.v_df,"ax",@progbits +; stel: .ent __call_stub_fp_v_df ; stel: #APP ; setl: .set reorder -; stel: mtc1 $4,$f12 -; stel: mtc1 $5,$f13 -; stel: lui $25,%hi(v_df) -; stel: addiu $25,$25,%lo(v_df) -; stel: jr $25 -; stel: .end __call_stub_fp_v_df +; stel: mtc1 $4,$f12 +; stel: mtc1 $5,$f13 +; stel: lui $25,%hi(v_df) +; stel: addiu $25,$25,%lo(v_df) +; stel: jr $25 +; stel: .end __call_stub_fp_v_df declare void @v_sf_sf(float, float) #1 -; stel: .section .mips16.call.fp.v_sf_sf,"ax",@progbits -; stel: .ent __call_stub_fp_v_sf_sf -; stel: mtc1 $4,$f12 -; stel: mtc1 $5,$f14 -; stel: lui $25,%hi(v_sf_sf) -; stel: addiu $25,$25,%lo(v_sf_sf) -; stel: jr $25 -; stel: .end __call_stub_fp_v_sf_sf +; stel: .section .mips16.call.fp.v_sf_sf,"ax",@progbits +; stel: .ent __call_stub_fp_v_sf_sf +; stel: mtc1 $4,$f12 +; stel: mtc1 $5,$f14 +; stel: lui $25,%hi(v_sf_sf) +; stel: addiu $25,$25,%lo(v_sf_sf) +; stel: jr $25 +; stel: .end __call_stub_fp_v_sf_sf declare void @v_sf_df(float, double) #1 -; stel: .section .mips16.call.fp.v_sf_df,"ax",@progbits -; stel: .ent __call_stub_fp_v_sf_df -; stel: mtc1 $4,$f12 -; stel: mtc1 $6,$f14 -; stel: mtc1 $7,$f15 -; stel: lui $25,%hi(v_sf_df) -; stel: addiu $25,$25,%lo(v_sf_df) -; stel: jr $25 -; stel: .end __call_stub_fp_v_sf_df +; stel: .section .mips16.call.fp.v_sf_df,"ax",@progbits +; stel: .ent __call_stub_fp_v_sf_df +; stel: mtc1 $4,$f12 +; stel: mtc1 $6,$f14 +; stel: mtc1 $7,$f15 +; stel: lui $25,%hi(v_sf_df) +; stel: addiu $25,$25,%lo(v_sf_df) +; stel: jr $25 +; stel: .end __call_stub_fp_v_sf_df declare void @v_df_sf(double, float) #1 -; stel: .section .mips16.call.fp.v_df_sf,"ax",@progbits -; stel: .ent __call_stub_fp_v_df_sf -; stel: mtc1 $4,$f12 -; stel: mtc1 $5,$f13 -; stel: mtc1 $6,$f14 -; stel: lui $25,%hi(v_df_sf) -; stel: addiu $25,$25,%lo(v_df_sf) -; stel: jr $25 -; stel: .end __call_stub_fp_v_df_sf +; stel: .section .mips16.call.fp.v_df_sf,"ax",@progbits +; stel: .ent __call_stub_fp_v_df_sf +; stel: mtc1 $4,$f12 +; stel: mtc1 $5,$f13 +; stel: mtc1 $6,$f14 +; stel: lui $25,%hi(v_df_sf) +; stel: addiu $25,$25,%lo(v_df_sf) +; stel: jr $25 +; stel: .end __call_stub_fp_v_df_sf declare void @v_df_df(double, double) #1 -; stel: .section .mips16.call.fp.v_df_df,"ax",@progbits -; stel: .ent __call_stub_fp_v_df_df -; stel: mtc1 $4,$f12 -; stel: mtc1 $5,$f13 -; stel: mtc1 $6,$f14 -; stel: mtc1 $7,$f15 -; stel: lui $25,%hi(v_df_df) -; stel: addiu $25,$25,%lo(v_df_df) -; stel: jr $25 -; stel: .end __call_stub_fp_v_df_df +; stel: .section .mips16.call.fp.v_df_df,"ax",@progbits +; stel: .ent __call_stub_fp_v_df_df +; stel: mtc1 $4,$f12 +; stel: mtc1 $5,$f13 +; stel: mtc1 $6,$f14 +; stel: mtc1 $7,$f15 +; stel: lui $25,%hi(v_df_df) +; stel: addiu $25,$25,%lo(v_df_df) +; stel: jr $25 +; stel: .end __call_stub_fp_v_df_df declare float @sf_v() #1 -; stel: .section .mips16.call.fp.sf_v,"ax",@progbits -; stel: .ent __call_stub_fp_sf_v +; stel: .section .mips16.call.fp.sf_v,"ax",@progbits +; stel: .ent __call_stub_fp_sf_v ; stel: move $18, $31 ; stel: jal sf_v -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_v +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_v declare float @sf_sf(float) #1 -; stel: .section .mips16.call.fp.sf_sf,"ax",@progbits -; stel: .ent __call_stub_fp_sf_sf +; stel: .section .mips16.call.fp.sf_sf,"ax",@progbits +; stel: .ent __call_stub_fp_sf_sf ; stel: mtc1 $4,$f12 ; stel: move $18, $31 ; stel: jal sf_sf -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_sf +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_sf declare float @sf_df(double) #1 -; stel: .section .mips16.call.fp.sf_df,"ax",@progbits -; stel: .ent __call_stub_fp_sf_df +; stel: .section .mips16.call.fp.sf_df,"ax",@progbits +; stel: .ent __call_stub_fp_sf_df ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f13 ; stel: move $18, $31 ; stel: jal sf_df -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_df +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_df declare float @sf_sf_sf(float, float) #1 -; stel: .section .mips16.call.fp.sf_sf_sf,"ax",@progbits -; stel: .ent __call_stub_fp_sf_sf_sf +; stel: .section .mips16.call.fp.sf_sf_sf,"ax",@progbits +; stel: .ent __call_stub_fp_sf_sf_sf ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f14 ; stel: move $18, $31 ; stel: jal sf_sf_sf -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_sf_sf +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_sf_sf declare float @sf_sf_df(float, double) #1 -; stel: .section .mips16.call.fp.sf_sf_df,"ax",@progbits -; stel: .ent __call_stub_fp_sf_sf_df +; stel: .section .mips16.call.fp.sf_sf_df,"ax",@progbits +; stel: .ent __call_stub_fp_sf_sf_df ; stel: mtc1 $4,$f12 ; stel: mtc1 $6,$f14 ; stel: mtc1 $7,$f15 ; stel: move $18, $31 ; stel: jal sf_sf_df -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_sf_df +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_sf_df declare float @sf_df_sf(double, float) #1 -; stel: .section .mips16.call.fp.sf_df_sf,"ax",@progbits -; stel: .ent __call_stub_fp_sf_df_sf +; stel: .section .mips16.call.fp.sf_df_sf,"ax",@progbits +; stel: .ent __call_stub_fp_sf_df_sf ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f13 ; stel: mtc1 $6,$f14 ; stel: move $18, $31 ; stel: jal sf_df_sf -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_df_sf +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_df_sf declare float @sf_df_df(double, double) #1 -; stel: .section .mips16.call.fp.sf_df_df,"ax",@progbits -; stel: .ent __call_stub_fp_sf_df_df +; stel: .section .mips16.call.fp.sf_df_df,"ax",@progbits +; stel: .ent __call_stub_fp_sf_df_df ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f13 ; stel: mtc1 $6,$f14 ; stel: mtc1 $7,$f15 ; stel: move $18, $31 ; stel: jal sf_df_df -; stel: mfc1 $2,$f0 -; stel: jr $18 -; stel: .end __call_stub_fp_sf_df_df +; stel: mfc1 $2,$f0 +; stel: jr $18 +; stel: .end __call_stub_fp_sf_df_df declare double @df_v() #1 -; stel: .section .mips16.call.fp.df_v,"ax",@progbits -; stel: .ent __call_stub_fp_df_v +; stel: .section .mips16.call.fp.df_v,"ax",@progbits +; stel: .ent __call_stub_fp_df_v ; stel: move $18, $31 ; stel: jal df_v -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_v +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_v declare double @df_sf(float) #1 -; stel: .section .mips16.call.fp.df_sf,"ax",@progbits -; stel: .ent __call_stub_fp_df_sf +; stel: .section .mips16.call.fp.df_sf,"ax",@progbits +; stel: .ent __call_stub_fp_df_sf ; stel: mtc1 $4,$f12 ; stel: move $18, $31 ; stel: jal df_sf -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_sf +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_sf declare double @df_df(double) #1 -; stel: .section .mips16.call.fp.df_df,"ax",@progbits -; stel: .ent __call_stub_fp_df_df +; stel: .section .mips16.call.fp.df_df,"ax",@progbits +; stel: .ent __call_stub_fp_df_df ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f13 ; stel: move $18, $31 ; stel: jal df_df -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_df +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_df declare double @df_sf_sf(float, float) #1 -; stel: .section .mips16.call.fp.df_sf_sf,"ax",@progbits -; stel: .ent __call_stub_fp_df_sf_sf +; stel: .section .mips16.call.fp.df_sf_sf,"ax",@progbits +; stel: .ent __call_stub_fp_df_sf_sf ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f14 ; stel: move $18, $31 ; stel: jal df_sf_sf -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_sf_sf +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_sf_sf declare double @df_sf_df(float, double) #1 -; stel: .section .mips16.call.fp.df_sf_df,"ax",@progbits -; stel: .ent __call_stub_fp_df_sf_df +; stel: .section .mips16.call.fp.df_sf_df,"ax",@progbits +; stel: .ent __call_stub_fp_df_sf_df ; stel: mtc1 $4,$f12 ; stel: mtc1 $6,$f14 ; stel: mtc1 $7,$f15 ; stel: move $18, $31 ; stel: jal df_sf_df -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_sf_df +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_sf_df declare double @df_df_sf(double, float) #1 -; stel: .section .mips16.call.fp.df_df_sf,"ax",@progbits -; stel: .ent __call_stub_fp_df_df_sf +; stel: .section .mips16.call.fp.df_df_sf,"ax",@progbits +; stel: .ent __call_stub_fp_df_df_sf ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f13 ; stel: mtc1 $6,$f14 ; stel: move $18, $31 ; stel: jal df_df_sf -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_df_sf +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_df_sf declare double @df_df_df(double, double) #1 -; stel: .section .mips16.call.fp.df_df_df,"ax",@progbits -; stel: .ent __call_stub_fp_df_df_df +; stel: .section .mips16.call.fp.df_df_df,"ax",@progbits +; stel: .ent __call_stub_fp_df_df_df ; stel: mtc1 $4,$f12 ; stel: mtc1 $5,$f13 ; stel: mtc1 $6,$f14 ; stel: mtc1 $7,$f15 ; stel: move $18, $31 ; stel: jal df_df_df -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_df_df_df +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_df_df_df declare { float, float } @sc_v() #1 -; stel: .section .mips16.call.fp.sc_v,"ax",@progbits -; stel: .ent __call_stub_fp_sc_v +; stel: .section .mips16.call.fp.sc_v,"ax",@progbits +; stel: .ent __call_stub_fp_sc_v ; stel: move $18, $31 ; stel: jal sc_v -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f2 -; stel: jr $18 -; stel: .end __call_stub_fp_sc_v +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f2 +; stel: jr $18 +; stel: .end __call_stub_fp_sc_v declare { float, float } @sc_sf(float) #1 -; stel: .section .mips16.call.fp.sc_sf,"ax",@progbits -; stel: .ent __call_stub_fp_sc_sf +; stel: .section .mips16.call.fp.sc_sf,"ax",@progbits +; stel: .ent __call_stub_fp_sc_sf ; stel: mtc1 $4,$f12 ; stel: move $18, $31 ; stel: jal sc_sf -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f2 -; stel: jr $18 -; stel: .end __call_stub_fp_sc_sf +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f2 +; stel: jr $18 +; stel: .end __call_stub_fp_sc_sf declare { double, double } @dc_v() #1 -; stel: .section .mips16.call.fp.dc_v,"ax",@progbits -; stel: .ent __call_stub_fp_dc_v +; stel: .section .mips16.call.fp.dc_v,"ax",@progbits +; stel: .ent __call_stub_fp_dc_v ; stel: move $18, $31 ; stel: jal dc_v -; stel: mfc1 $4,$f2 -; stel: mfc1 $5,$f3 -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_dc_v +; stel: mfc1 $4,$f2 +; stel: mfc1 $5,$f3 +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_dc_v declare { double, double } @dc_sf(float) #1 -; stel: .section .mips16.call.fp.dc_sf,"ax",@progbits -; stel: .ent __call_stub_fp_dc_sf +; stel: .section .mips16.call.fp.dc_sf,"ax",@progbits +; stel: .ent __call_stub_fp_dc_sf ; stel: mtc1 $4,$f12 ; stel: move $18, $31 ; stel: jal dc_sf -; stel: mfc1 $4,$f2 -; stel: mfc1 $5,$f3 -; stel: mfc1 $2,$f0 -; stel: mfc1 $3,$f1 -; stel: jr $18 -; stel: .end __call_stub_fp_dc_sf +; stel: mfc1 $4,$f2 +; stel: mfc1 $5,$f3 +; stel: mfc1 $2,$f0 +; stel: mfc1 $3,$f1 +; stel: jr $18 +; stel: .end __call_stub_fp_dc_sf attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/hf16call32_body.ll b/test/CodeGen/Mips/hf16call32_body.ll index d06256cc564..a7f3196aba2 100644 --- a/test/CodeGen/Mips/hf16call32_body.ll +++ b/test/CodeGen/Mips/hf16call32_body.ll @@ -18,13 +18,13 @@ entry: store float %0, float* @x, align 4 ret void } -; stel: .section .mips16.fn.v_sf,"ax",@progbits -; stel: .ent __fn_stub_v_sf -; stel: la $25,v_sf -; stel: mfc1 $4,$f12 -; stel: jr $25 -; stel: __fn_local_v_sf = v_sf -; stel: .end __fn_stub_v_sf +; stel: .section .mips16.fn.v_sf,"ax",@progbits +; stel: .ent __fn_stub_v_sf +; stel: la $25,v_sf +; stel: mfc1 $4,$f12 +; stel: jr $25 +; stel: __fn_local_v_sf = v_sf +; stel: .end __fn_stub_v_sf declare i32 @printf(i8*, ...) #1 @@ -38,14 +38,14 @@ entry: ret void } -; stel: .section .mips16.fn.v_df,"ax",@progbits -; stel: .ent __fn_stub_v_df -; stel: la $25,v_df -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f13 -; stel: jr $25 -; stel: __fn_local_v_df = v_df -; stel: .end __fn_stub_v_df +; stel: .section .mips16.fn.v_df,"ax",@progbits +; stel: .ent __fn_stub_v_df +; stel: la $25,v_df +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f13 +; stel: jr $25 +; stel: __fn_local_v_df = v_df +; stel: .end __fn_stub_v_df ; Function Attrs: nounwind define void @v_sf_sf(float %p1, float %p2) #0 { @@ -61,14 +61,14 @@ entry: ret void } -; stel: .section .mips16.fn.v_sf_sf,"ax",@progbits -; stel: .ent __fn_stub_v_sf_sf -; stel: la $25,v_sf_sf -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f14 -; stel: jr $25 -; stel: __fn_local_v_sf_sf = v_sf_sf -; stel: .end __fn_stub_v_sf_sf +; stel: .section .mips16.fn.v_sf_sf,"ax",@progbits +; stel: .ent __fn_stub_v_sf_sf +; stel: la $25,v_sf_sf +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f14 +; stel: jr $25 +; stel: __fn_local_v_sf_sf = v_sf_sf +; stel: .end __fn_stub_v_sf_sf ; Function Attrs: nounwind define void @v_sf_df(float %p1, double %p2) #0 { @@ -84,15 +84,15 @@ entry: ret void } -; stel: .section .mips16.fn.v_sf_df,"ax",@progbits -; stel: .ent __fn_stub_v_sf_df -; stel: la $25,v_sf_df -; stel: mfc1 $4,$f12 -; stel: mfc1 $6,$f14 -; stel: mfc1 $7,$f15 -; stel: jr $25 -; stel: __fn_local_v_sf_df = v_sf_df -; stel: .end __fn_stub_v_sf_df +; stel: .section .mips16.fn.v_sf_df,"ax",@progbits +; stel: .ent __fn_stub_v_sf_df +; stel: la $25,v_sf_df +; stel: mfc1 $4,$f12 +; stel: mfc1 $6,$f14 +; stel: mfc1 $7,$f15 +; stel: jr $25 +; stel: __fn_local_v_sf_df = v_sf_df +; stel: .end __fn_stub_v_sf_df ; Function Attrs: nounwind define void @v_df_sf(double %p1, float %p2) #0 { @@ -108,15 +108,15 @@ entry: ret void } -; stel: .section .mips16.fn.v_df_sf,"ax",@progbits -; stel: .ent __fn_stub_v_df_sf -; stel: la $25,v_df_sf -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f13 -; stel: mfc1 $6,$f14 -; stel: jr $25 -; stel: __fn_local_v_df_sf = v_df_sf -; stel: .end __fn_stub_v_df_sf +; stel: .section .mips16.fn.v_df_sf,"ax",@progbits +; stel: .ent __fn_stub_v_df_sf +; stel: la $25,v_df_sf +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f13 +; stel: mfc1 $6,$f14 +; stel: jr $25 +; stel: __fn_local_v_df_sf = v_df_sf +; stel: .end __fn_stub_v_df_sf ; Function Attrs: nounwind define void @v_df_df(double %p1, double %p2) #0 { @@ -132,16 +132,16 @@ entry: ret void } -; stel: .section .mips16.fn.v_df_df,"ax",@progbits -; stel: .ent __fn_stub_v_df_df -; stel: la $25,v_df_df -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f13 -; stel: mfc1 $6,$f14 -; stel: mfc1 $7,$f15 -; stel: jr $25 -; stel: __fn_local_v_df_df = v_df_df -; stel: .end __fn_stub_v_df_df +; stel: .section .mips16.fn.v_df_df,"ax",@progbits +; stel: .ent __fn_stub_v_df_df +; stel: la $25,v_df_df +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f13 +; stel: mfc1 $6,$f14 +; stel: mfc1 $7,$f15 +; stel: jr $25 +; stel: __fn_local_v_df_df = v_df_df +; stel: .end __fn_stub_v_df_df ; Function Attrs: nounwind define float @sf_v() #0 { @@ -162,13 +162,13 @@ entry: } -; stel: .section .mips16.fn.sf_sf,"ax",@progbits -; stel: .ent __fn_stub_sf_sf -; stel: la $25,sf_sf -; stel: mfc1 $4,$f12 -; stel: jr $25 -; stel: __fn_local_sf_sf = sf_sf -; stel: .end __fn_stub_sf_sf +; stel: .section .mips16.fn.sf_sf,"ax",@progbits +; stel: .ent __fn_stub_sf_sf +; stel: la $25,sf_sf +; stel: mfc1 $4,$f12 +; stel: jr $25 +; stel: __fn_local_sf_sf = sf_sf +; stel: .end __fn_stub_sf_sf ; Function Attrs: nounwind @@ -182,14 +182,14 @@ entry: ret float %1 } -; stel: .section .mips16.fn.sf_df,"ax",@progbits -; stel: .ent __fn_stub_sf_df -; stel: la $25,sf_df -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f13 -; stel: jr $25 -; stel: __fn_local_sf_df = sf_df -; stel: .end __fn_stub_sf_df +; stel: .section .mips16.fn.sf_df,"ax",@progbits +; stel: .ent __fn_stub_sf_df +; stel: la $25,sf_df +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f13 +; stel: jr $25 +; stel: __fn_local_sf_df = sf_df +; stel: .end __fn_stub_sf_df ; Function Attrs: nounwind define float @sf_sf_sf(float %p1, float %p2) #0 { @@ -206,14 +206,14 @@ entry: ret float %2 } -; stel: .section .mips16.fn.sf_sf_sf,"ax",@progbits -; stel: .ent __fn_stub_sf_sf_sf -; stel: la $25,sf_sf_sf -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f14 -; stel: jr $25 -; stel: __fn_local_sf_sf_sf = sf_sf_sf -; stel: .end __fn_stub_sf_sf_sf +; stel: .section .mips16.fn.sf_sf_sf,"ax",@progbits +; stel: .ent __fn_stub_sf_sf_sf +; stel: la $25,sf_sf_sf +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f14 +; stel: jr $25 +; stel: __fn_local_sf_sf_sf = sf_sf_sf +; stel: .end __fn_stub_sf_sf_sf ; Function Attrs: nounwind define float @sf_sf_df(float %p1, double %p2) #0 { @@ -230,15 +230,15 @@ entry: ret float %2 } -; stel: .section .mips16.fn.sf_sf_df,"ax",@progbits -; stel: .ent __fn_stub_sf_sf_df -; stel: la $25,sf_sf_df -; stel: mfc1 $4,$f12 -; stel: mfc1 $6,$f14 -; stel: mfc1 $7,$f15 -; stel: jr $25 -; stel: __fn_local_sf_sf_df = sf_sf_df -; stel: .end __fn_stub_sf_sf_df +; stel: .section .mips16.fn.sf_sf_df,"ax",@progbits +; stel: .ent __fn_stub_sf_sf_df +; stel: la $25,sf_sf_df +; stel: mfc1 $4,$f12 +; stel: mfc1 $6,$f14 +; stel: mfc1 $7,$f15 +; stel: jr $25 +; stel: __fn_local_sf_sf_df = sf_sf_df +; stel: .end __fn_stub_sf_sf_df ; Function Attrs: nounwind define float @sf_df_sf(double %p1, float %p2) #0 { @@ -255,15 +255,15 @@ entry: ret float %2 } -; stel: .section .mips16.fn.sf_df_sf,"ax",@progbits -; stel: .ent __fn_stub_sf_df_sf -; stel: la $25,sf_df_sf -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f13 -; stel: mfc1 $6,$f14 -; stel: jr $25 -; stel: __fn_local_sf_df_sf = sf_df_sf -; stel: .end __fn_stub_sf_df_sf +; stel: .section .mips16.fn.sf_df_sf,"ax",@progbits +; stel: .ent __fn_stub_sf_df_sf +; stel: la $25,sf_df_sf +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f13 +; stel: mfc1 $6,$f14 +; stel: jr $25 +; stel: __fn_local_sf_df_sf = sf_df_sf +; stel: .end __fn_stub_sf_df_sf ; Function Attrs: nounwind define float @sf_df_df(double %p1, double %p2) #0 { @@ -280,15 +280,15 @@ entry: ret float %2 } -; stel: .section .mips16.fn.sf_df_df,"ax",@progbits -; stel: .ent __fn_stub_sf_df_df -; stel: la $25,sf_df_df -; stel: mfc1 $4,$f12 -; stel: mfc1 $5,$f13 -; stel: mfc1 $6,$f14 -; stel: mfc1 $7,$f15 -; stel: jr $25 -; stel: __fn_local_sf_df_df = sf_df_df -; stel: .end __fn_stub_sf_df_df +; stel: .section .mips16.fn.sf_df_df,"ax",@progbits +; stel: .ent __fn_stub_sf_df_df +; stel: la $25,sf_df_df +; stel: mfc1 $4,$f12 +; stel: mfc1 $5,$f13 +; stel: mfc1 $6,$f14 +; stel: mfc1 $7,$f15 +; stel: jr $25 +; stel: __fn_local_sf_df_df = sf_df_df +; stel: .end __fn_stub_sf_df_df attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/hf1_body.ll b/test/CodeGen/Mips/hf1_body.ll index 71a1b960c5b..50f065985b3 100644 --- a/test/CodeGen/Mips/hf1_body.ll +++ b/test/CodeGen/Mips/hf1_body.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=picfp16 +; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=picfp16 @x = external global float @@ -11,11 +11,11 @@ entry: store float %0, float* @x, align 4 ret void } -; picfp16: .ent __fn_stub_v_sf -; picfp16: .cpload $25 -; picfp16: .set reorder -; picfp16: .reloc 0,R_MIPS_NONE,v_sf -; picfp16: la $25,$__fn_local_v_sf -; picfp16: mfc1 $4,$f12 -; picfp16: jr $25 -; picfp16: .end __fn_stub_v_sf +; picfp16: .ent __fn_stub_v_sf +; picfp16: .cpload $25 +; picfp16: .set reorder +; picfp16: .reloc 0,R_MIPS_NONE,v_sf +; picfp16: la $25,$__fn_local_v_sf +; picfp16: mfc1 $4,$f12 +; picfp16: jr $25 +; picfp16: .end __fn_stub_v_sf -- 2.34.1