<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Eric,<div><br></div><div>Following Tim's and your advice I filled the bug:</div><div><a href="http://llvm.org/bugs/show_bug.cgi?id=16315" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=16315</a></div><div><br></div><div>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?</div><div><br></div><div>Moshe<br><br><div>> Date: Wed, 12 Jun 2013 13:10:21 -0700<br>> Subject: Re: [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"<br>> From: echristo@gmail.com<br>> To: mkravchik@hotmail.com<br>> CC: t.p.northover@gmail.com; llvmdev@cs.uiuc.edu<br>> <br>> Hi Moshe,<br>> <br>> Tim just did tell you what to do :)<br>> <br>> "Reporting it at llvm.org/bugs (and/or bugreporter.apple.com since<br>> that seems to be your platform) would make sure it doesn't get lost."<br>> <br>> So filing a bug report would be best.<br>> <br>> -eric<br>> <br>> <br>> On Wed, Jun 12, 2013 at 12:18 PM, Moshe Kravchik <mkravchik@hotmail.com> wrote:<br>> > So probably it is a LLVM issue - can anyone from the team look at it and let<br>> > me know if there is anything to do.<br>> ><br>> > Moshe<br>> ><br>> >> Date: Wed, 12 Jun 2013 10:53:56 -0700<br>> >> Subject: Re: [LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong<br>> >> "instruction requires:arm-mode"<br>> >> From: t.p.northover@gmail.com<br>> >> To: mkravchik@hotmail.com<br>> >> CC: llvmdev@cs.uiuc.edu<br>> ><br>> >><br>> >> Hi Moshe,<br>> >><br>> >> The others are right that you'll likely get better Apple-specific help<br>> >> at the forums, but this problem happens to be the same in generic<br>> >> LLVM.<br>> >><br>> >> > ./src/asm.s:30:5: error: instruction requires a CPU feature not<br>> >> > currently enabled<br>> >> ><br>> >> > add r2, pc, r2<br>> >> ><br>> >> > According to ARM specification:<br>> >><br>> >> The specifications you're referring to are a little vague, and the<br>> >> actual instruction definitions give the real situation (page/section<br>> >> A3-308).<br>> >><br>> >> I think it boils down to:<br>> >> "add r2, r2, pc" should be allowed (but LLVM doesn't, this is a bug).<br>> >> "add r2, pc" should be allowed (and is)<br>> >> "add r2, pc, r2" should be allowed *if* it's in an IT block (but LLVM<br>> >> doesn't, this is a bug).<br>> >><br>> >> That last one might be rather tricky to implement. I'll take a bit of<br>> >> a look, but may not have time to do it properly. Reporting it at<br>> >> llvm.org/bugs (and/or bugreporter.apple.com since that seems to be<br>> >> your platform) would make sure it doesn't get lost.<br>> >><br>> >> Cheers.<br>> >><br>> >> Tim.<br>> ><br>> > _______________________________________________<br>> > LLVM Developers mailing list<br>> > LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu<br>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<br>> ><br></div></div>                                    </div></body>
</html>