aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/CellSPU/dp_farith.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CellSPU/dp_farith.ll')
-rw-r--r--test/CodeGen/CellSPU/dp_farith.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/dp_farith.ll b/test/CodeGen/CellSPU/dp_farith.ll
index 58c56e1470..5cdb33ee68 100644
--- a/test/CodeGen/CellSPU/dp_farith.ll
+++ b/test/CodeGen/CellSPU/dp_farith.ll
@@ -7,6 +7,8 @@
; RUN: grep dfnms %t1.s | count 4
;
; This file includes double precision floating point arithmetic instructions
+target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
+target triple = "spu"
define double @fadd(double %arg1, double %arg2) {
%A = add double %arg1, %arg2