3 // Copyright 2017 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Test for golang.org/issue/19403.
8 // F15 should not be clobbered by float-to-int conversion on ARM.
9 // This test requires enough locals that can be put in registers that the compiler can choose to use F15.
12 var count float32 = 16
42 var f10 float32 = 10.0
43 var f11 float32 = 11.0
44 var f12 float32 = 12.0
45 var f13 float32 = 13.0
46 var f14 float32 = 14.0
47 var f15 float32 = 15.0
48 var f16 float32 = 16.0