search for: kravchik

Displaying 11 results from an estimated 11 matches for "kravchik".

Did you mean: mkravchik
2012 Jul 26
1
[LLVMdev] A pragma to turn the optimizations off
On Thu, Jul 26, 2012 at 12:48 AM, Moshe Kravchik <mkravchik at hotmail.com> wrote: > > Hi, > > I'm looking for a pragma to insert in my source that will turn the > optimization off for that file. Could not find one, it is possible? > > Thanks a lot, > Moshe No, clang does not have a pragma for this. You should u...
2012 Jul 11
4
[LLVMdev] A problem with inline assembly in llvmc for ARM
Hi, I encountered an issue with inline assembly in my c files compiled with llvmc. When I have a push instruction in the inline assembly like: __asm__ volatile ( "push {r4}\n\t" ); the compiler will drop the curly braces and leave it in the generated assembly file as: push r4 And this is non-conformant with the ARM
2013 Jun 12
0
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
Moshe, You're more than likely going to get a better response from https://devforums.apple.com/community/tools/xcode llvmdev is a mailing list for the LLVM project which is separate from Xcode development. Cheers, Joe On Jun 12, 2013, at 8:51 AM, Moshe Kravchik <mkravchik at hotmail.com<mailto:mkravchik at hotmail.com>> wrote: Hi, I've got an assembly file which used to compile with previous clang versions. However with 4.2 I get the following error: admin$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u...
2013 Jun 12
0
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
Hi Moshe, Tim just did tell you what to do :) "Reporting it at llvm.org/bugs (and/or bugreporter.apple.com since that seems to be your platform) would make sure it doesn't get lost." So filing a bug report would be best. -eric On Wed, Jun 12, 2013 at 12:18 PM, Moshe Kravchik <mkravchik at hotmail.com> wrote: > So probably it is a LLVM issue - can anyone from the team look at it and let > me know if there is anything to do. > > Moshe > >> Date: Wed, 12 Jun 2013 10:53:56 -0700 >> Subject: Re: [LLVMdev] Apple clang 4.2 based on llvm 3.2 pr...
2013 Jun 12
2
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
...can anyone from the team look at it and let me know if there is anything to do. Moshe > Date: Wed, 12 Jun 2013 10:53:56 -0700 > Subject: Re: [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode" > From: t.p.northover at gmail.com > To: mkravchik at hotmail.com > CC: llvmdev at cs.uiuc.edu > > Hi Moshe, > > The others are right that you'll likely get better Apple-specific help > at the forums, but this problem happens to be the same in generic > LLVM. > > > ./src/asm.s:30:5: error: instruction requires a...
2013 Jun 12
4
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
Hi, I've got an assembly file which used to compile with previous clang versions. However with 4.2 I get the following error: admin$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 ./src/asm.s -o asm.o ./src/asm.s:30:5: error: instruction requires a CPU feature not currently enabled add r2, pc, r2 According to ARM
2012 Jul 11
0
[LLVMdev] A problem with inline assembly in llvmc for ARM
....eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .file "foo.c" .text .globl foo .align 2 .type foo,%function foo: @APP push {r4} @NO_APP bx lr .Ltmp0: .size foo, .Ltmp0-foo On Jul 11, 2012, at 1:44 AM, Moshe Kravchik wrote: > Hi, > > I encountered an issue with inline assembly in my c files compiled with llvmc. > > When I have a push instruction in the inline assembly like: > > __asm__ volatile ( > "push {r4}\n\t" >...
2012 Jul 26
0
[LLVMdev] A pragma to turn the optimizations off
Hi, I'm looking for a pragma to insert in my source that will turn the optimization off for that file. Could not find one, it is possible? Thanks a lot,Moshe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120726/e713a744/attachment.html>
2013 Jun 16
1
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
...bug to LLVM, maybe I need to set some fields differently to trigger their attention? Moshe > Date: Wed, 12 Jun 2013 13:10:21 -0700 > Subject: Re: [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode" > From: echristo at gmail.com > To: mkravchik at hotmail.com > CC: t.p.northover at gmail.com; llvmdev at cs.uiuc.edu > > Hi Moshe, > > Tim just did tell you what to do :) > > "Reporting it at llvm.org/bugs (and/or bugreporter.apple.com since > that seems to be your platform) would make sure it doesn't get l...
2012 Jul 11
0
[LLVMdev] A problem with inline assembly in llvmc for ARM
...anks for your reply, so what do you suggest?Do you know if there is a version that fixes this? Moshe > From: anton at korobeynikov.info > Date: Wed, 11 Jul 2012 21:45:29 +0400 > Subject: Re: [LLVMdev] A problem with inline assembly in llvmc for ARM > To: grosbach at apple.com > CC: mkravchik at hotmail.com; llvmdev at cs.uiuc.edu > > > Looks like a problem with llvmc. Your example works fine with clang. > llvmc does not do the actual compilation, it executed llvm-gcc / llc. > So, it seems problem is there. > Anyway, LLVM 2.9 is too ancient, especially for ARM. >...
2013 Feb 03
2
[LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
Hi, I have encountered an issue which seems to be a serious reproducible bug in LLVM-GCC 4.2. It can be reproduced by compiling the following C++ file that uses boost:#include "boost/statechart/event.hpp" using namespace std; class EvActivate : public boost::statechart::event< EvActivate > { public: EvActivate(){} private: }; extern "C" const void*