Moshe Kravchik
2013-Jun-12 19:18 UTC
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
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 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 CPU feature not currently enabled > > > > add r2, pc, r2 > > > > According to ARM specification: > > The specifications you're referring to are a little vague, and the > actual instruction definitions give the real situation (page/section > A3-308). > > I think it boils down to: > "add r2, r2, pc" should be allowed (but LLVM doesn't, this is a bug). > "add r2, pc" should be allowed (and is) > "add r2, pc, r2" should be allowed *if* it's in an IT block (but LLVM > doesn't, this is a bug). > > That last one might be rather tricky to implement. I'll take a bit of > a look, but may not have time to do it properly. 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. > > Cheers. > > Tim.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130612/e87ed436/attachment.html>
Eric Christopher
2013-Jun-12 20:10 UTC
[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 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 CPU feature not >> > currently enabled >> > >> > add r2, pc, r2 >> > >> > According to ARM specification: >> >> The specifications you're referring to are a little vague, and the >> actual instruction definitions give the real situation (page/section >> A3-308). >> >> I think it boils down to: >> "add r2, r2, pc" should be allowed (but LLVM doesn't, this is a bug). >> "add r2, pc" should be allowed (and is) >> "add r2, pc, r2" should be allowed *if* it's in an IT block (but LLVM >> doesn't, this is a bug). >> >> That last one might be rather tricky to implement. I'll take a bit of >> a look, but may not have time to do it properly. 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. >> >> Cheers. >> >> Tim. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Moshe Kravchik
2013-Jun-16 06:12 UTC
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
Hi Eric, Following Tim's and your advice I filled the bug:http://llvm.org/bugs/show_bug.cgi?id=16315 Haven't seen any reaction to it from LLVM developers so far. This is the first time I submit a 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 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 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 CPU feature not > >> > currently enabled > >> > > >> > add r2, pc, r2 > >> > > >> > According to ARM specification: > >> > >> The specifications you're referring to are a little vague, and the > >> actual instruction definitions give the real situation (page/section > >> A3-308). > >> > >> I think it boils down to: > >> "add r2, r2, pc" should be allowed (but LLVM doesn't, this is a bug). > >> "add r2, pc" should be allowed (and is) > >> "add r2, pc, r2" should be allowed *if* it's in an IT block (but LLVM > >> doesn't, this is a bug). > >> > >> That last one might be rather tricky to implement. I'll take a bit of > >> a look, but may not have time to do it properly. 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. > >> > >> Cheers. > >> > >> Tim. > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130616/450a575a/attachment.html>
Seemingly Similar Threads
- [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
- [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
- [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
- [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
- [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"