• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc %s -o - -mtriple=powerpc-apple-darwin8 | FileCheck %s
2define ppc_fp128 @test1(i64 %X) nounwind readnone {
3entry:
4  %0 = sitofp i64 %X to ppc_fp128
5  ret ppc_fp128 %0
6}
7
8; CHECK: _test1:
9; CHECK: bl ___floatditf$stub
10; CHECK: 	.section	__TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16
11; CHECK: ___floatditf$stub:
12; CHECK: 	.indirect_symbol ___floatditf
13; CHECK: 	lis r11,ha16(___floatditf$lazy_ptr)
14; CHECK: 	lwzu r12,lo16(___floatditf$lazy_ptr)(r11)
15; CHECK: 	mtctr r12
16; CHECK: 	bctr
17; CHECK: 	.section	__DATA,__la_symbol_ptr,lazy_symbol_pointers
18; CHECK: ___floatditf$lazy_ptr:
19; CHECK: 	.indirect_symbol ___floatditf
20; CHECK: 	.long dyld_stub_binding_helper
21
22
23