NAKAMURA Takumi | ddbfbcf | 2011-03-16 13:52:38 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s |
| 2 | ; CHECK-NOT: mov |
Dan Gohman | 4106f37 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 3 | |
Evan Cheng | 687bcb2 | 2008-05-07 22:59:08 +0000 | [diff] [blame] | 4 | define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind { |
Dan Gohman | 4106f37 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 5 | %t = load <4 x float>* %p |
Dan Gohman | ae3a0be | 2009-06-04 22:49:04 +0000 | [diff] [blame] | 6 | %z = fmul <4 x float> %t, %x |
Dan Gohman | 4106f37 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 7 | ret <4 x float> %z |
| 8 | } |
Evan Cheng | 687bcb2 | 2008-05-07 22:59:08 +0000 | [diff] [blame] | 9 | define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind { |
Dan Gohman | 4106f37 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 10 | %t = load <2 x double>* %p |
Dan Gohman | ae3a0be | 2009-06-04 22:49:04 +0000 | [diff] [blame] | 11 | %z = fmul <2 x double> %t, %x |
Dan Gohman | 4106f37 | 2007-07-18 20:23:34 +0000 | [diff] [blame] | 12 | ret <2 x double> %z |
| 13 | } |