1 ; fcfid and fctid should be generated when the 64bit feature is enabled, but not
4 ; RUN: llvm-as < %s | llc -march=ppc32 -mattr=+64bit | \
6 ; RUN: llvm-as < %s | llc -march=ppc32 -mattr=+64bit | \
8 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | \
10 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | \
12 ; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-64bit | \
14 ; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-64bit | \
15 ; RUN: not grep fctidz
16 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g4 | \
18 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g4 | \
19 ; RUN: not grep fctidz
21 define double @X(double %Y) {
22 %A = fptosi double %Y to i64 ; <i64> [#uses=1]
23 %B = sitofp i64 %A to double ; <double> [#uses=1]