search for: floatabi

Displaying 20 results from an estimated 25 matches for "floatabi".

2014 Jul 23
2
[LLVMdev] JIT on armhf, again
...ow I'm running into a requirement to do this again: while it's much less crashy than it was, I still can't seem to persuade the JIT to generate hard-float code. This is with LLVM 3.3, 3.4 and 3.5. I'm using MCJIT (although I've tried without, as well), and I've tried setting FloatABI to HardFloat. Does anyone know if this is actually working yet? If so, are there any examples of how to do this successfully? -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "Feminism encourages women to leave their husbands, kill their │ children, practice withcraft, destroy ca...
2012 Dec 30
2
[LLVMdev] Targetting the raspberry pi
Targetting the raspberry pi, what triple/flags should I set? I tried triple: armv4t-unknown-linux-gnueabi and ld fails with: a.out uses VFP register arguments if i set hardfloat (using optdata.FloatABIType = FloatABI::Hard), ld fails with an assertion: 2.22 assertion fail ../../bfd/elf32-arm.c:11477 what am I missing?
2014 Jul 23
2
[LLVMdev] JIT on armhf, again
On 7/23/14, 1:20 PM, Tim Northover wrote: [...] > You should probably be specifying a triple directly, and making it an > AAPCS-VFP one for good measure: "armv7-linux-gnueabihf" for example, > or "thumbv7-none-eabihf". You shouldn't even need to set FloatABI for > those two. How do I do this? (I can't find any examples, and the API is decidedly unclear...) -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "Feminism encourages women to leave their husbands, kill their │ children, practice withcraft, destroy capitalism and become...
2016 Mar 23
2
Help with pass manager
...Machine(moduletriple.getTriple(), cpuname, ftrlist, targetopts, Reloc::Default, CodeModel::Default, OLvl)); assert(tmachine && "Could not allocate target machine!"); assert(module && "Should have exited if we didn't have a module!"); if (FloatABIForCalls != FloatABI::Default) targetopts.FloatABIType = FloatABIForCalls; std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); if (!objoutstream) return 1; legacy::PassManager passmanager; TargetLibraryInfoImpl TLII...
2016 Mar 24
2
Help with pass manager
...rlist, targetopts, Reloc::Default, CodeModel::Default, OLvl)); >> >> assert(tmachine && "Could not allocate target machine!"); >> >> assert(module && "Should have exited if we didn't have a module!"); >> if (FloatABIForCalls != FloatABI::Default) >> targetopts.FloatABIType = FloatABIForCalls; >> >> >> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >> if (!objoutstream) return 1; >> >> legac...
2016 Mar 24
0
Help with pass manager
...riple(), cpuname, ftrlist, targetopts, Reloc::Default, CodeModel::Default, OLvl)); > > assert(tmachine && "Could not allocate target machine!"); > > assert(module && "Should have exited if we didn't have a module!"); > if (FloatABIForCalls != FloatABI::Default) > targetopts.FloatABIType = FloatABIForCalls; > > > std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); > if (!objoutstream) return 1; > > legacy::PassManager passmanager;...
2016 Mar 24
2
Help with pass manager
...odel::Default, OLvl)); >>>> >>>> assert(tmachine && "Could not allocate target machine!"); >>>> >>>> assert(module && "Should have exited if we didn't have a module!"); >>>> if (FloatABIForCalls != FloatABI::Default) >>>> targetopts.FloatABIType = FloatABIForCalls; >>>> >>>> >>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>> if (!objoutstream) re...
2016 Mar 24
0
Help with pass manager
...eloc::Default, CodeModel::Default, OLvl)); >>> >>> assert(tmachine && "Could not allocate target machine!"); >>> >>> assert(module && "Should have exited if we didn't have a module!"); >>> if (FloatABIForCalls != FloatABI::Default) >>> targetopts.FloatABIType = FloatABIForCalls; >>> >>> >>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>> if (!objoutstream) return 1; >>>...
2016 Mar 24
2
Help with pass manager
...gt;> >>>>>> assert(tmachine && "Could not allocate target machine!"); >>>>>> >>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>> >>>>>> >>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>&g...
2016 Mar 24
0
Help with pass manager
...); >>>>> >>>>> assert(tmachine && "Could not allocate target machine!"); >>>>> >>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>> if (FloatABIForCalls != FloatABI::Default) >>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>> >>>>> >>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>> i...
2012 Dec 30
0
[LLVMdev] Targetting the raspberry pi
...inly have a mismatch. David On 30 Dec 2012, at 10:42, Carlo Kok wrote: > Targetting the raspberry pi, what triple/flags should I set? > > I tried triple: armv4t-unknown-linux-gnueabi and ld fails with: > a.out uses VFP register arguments > > if i set hardfloat (using optdata.FloatABIType = FloatABI::Hard), ld fails with an assertion: > 2.22 assertion fail ../../bfd/elf32-arm.c:11477 > > what am I missing? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists....
2013 Feb 08
0
[LLVMdev] JIT on armhf
Hi David, For ARM, you will need to use the MCJIT ExecutionEngine as the legacy one is broken for ARM. (call EngineBuilder::setUseMCJIT()). When creating your TargetOptions, setting FloatABIType to FloatABI::Hard should trigger codegen for the correct ABI. Amara
2016 Mar 24
2
Help with pass manager
...;>>> assert(tmachine && "Could not allocate target machine!"); >>>>>>>> >>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>> >>>>>>>> >>>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStr...
2016 Mar 24
0
Help with pass manager
...;>>>>>> assert(tmachine && "Could not allocate target machine!"); >>>>>>> >>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>> >>>>>>> >>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcn...
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...EnableCacheManager > std::string(), // ObjectCacheDir > std::string(), // FakeArgv0 > false, // DisableCoreFiles > false, // NoLazyCompilation > Reloc::PIC_, // RelocModel > CodeModel::JITDefault, // CMModel > true, // GenerateSoftFloatCalls > FloatABI::Soft, // FloatABIForCalls > false, // EmitJitDebugInfo > false // EmitJitDebugInfoToDisk > ); > > I'm getting the next error text: > *error creating EE: target does not support JIT code generation* > > Ok, let's try using MCJIT as i was suggested. >...
2016 Mar 24
0
Help with pass manager
...; assert(tmachine && "Could not allocate target machine!"); >>>>>>>>> >>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>> >>>>>>>>> >>>>>>>>> std::unique_ptr<tool_output_file> objoutstream =...
2016 Mar 24
2
Help with pass manager
...(tmachine && "Could not allocate target machine!"); >>>>>>>>>> >>>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> std::unique_ptr<tool_output_file>...
2014 Sep 17
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
Both Clang/LLVM 3.4 -> Clang/LLVM 3.5 And i will also try using MCJIT. 2014-09-17 18:56 GMT+06:00 Anton Smirnov <dev at antonsmirnov.name>: > Hi, Tim. > > I've used Clang 3.4 final release and now i'm going to test it with 3.5 > release (since i've read about arm64 improvements). > I will report my results. > > BTW, is it possible to get smth like
2014 Sep 18
2
[LLVMdev] [cfe-dev] exc_bad_instruction on arm
...eDir >>> std::string(), // FakeArgv0 >>> false, // DisableCoreFiles >>> false, // NoLazyCompilation >>> Reloc::PIC_, // RelocModel >>> CodeModel::JITDefault, // CMModel >>> true, // GenerateSoftFloatCalls >>> FloatABI::Soft, // FloatABIForCalls >>> false, // EmitJitDebugInfo >>> false // EmitJitDebugInfoToDisk >>> ); >>> >>> I'm getting the next error text: >>> *error creating EE: target does not support JIT code generation* >>> >...
2016 Mar 24
0
Help with pass manager
...mp;& "Could not allocate target machine!"); >>>>>>>>>>> >>>>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> std::unique_ptr<tool...