Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86-64 | not grep mov |
Dan Gohman | 4a4f151 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 2 | |
Evan Cheng | 18950d9 | 2008-05-07 22:59:08 +0000 | [diff] [blame] | 3 | define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind { |
Dan Gohman | 4a4f151 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 4 | %t = load <4 x float>* %p |
Dan Gohman | 7ce405e | 2009-06-04 22:49:04 +0000 | [diff] [blame] | 5 | %z = fmul <4 x float> %t, %x |
Dan Gohman | 4a4f151 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 6 | ret <4 x float> %z |
| 7 | } |
Evan Cheng | 18950d9 | 2008-05-07 22:59:08 +0000 | [diff] [blame] | 8 | define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind { |
Dan Gohman | 4a4f151 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 9 | %t = load <2 x double>* %p |
Dan Gohman | 7ce405e | 2009-06-04 22:49:04 +0000 | [diff] [blame] | 10 | %z = fmul <2 x double> %t, %x |
Dan Gohman | 4a4f151 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 11 | ret <2 x double> %z |
| 12 | } |