Now that there is good thumb2 support in the ARM backend, would someone please add "cortex-m3" to the "-march" list for the ARM backend. This should produce pure thumb2 only code. At some point, when the subsets are public, "cortex-m1" and "cortex-m0" should also be added. thanks, bagel
Patches are welcome. deep On Thu, Oct 22, 2009 at 2:58 AM, Bagel <bagel99 at gmail.com> wrote:> Now that there is good thumb2 support in the ARM backend, would someone > please add "cortex-m3" to the "-march" list for the ARM backend. This > should produce pure thumb2 only code. At some point, when the subsets > are public, "cortex-m1" and "cortex-m0" should also be added. > > thanks, > bagel > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Here is a one-line patch to support the cortex-m3. For those who plan the features for ARM, the new cortex-m0 implements only a subset of the Thumb2 instructions. I still have yet to see a document that details what's in the subset. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: arm.diff URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091122/eb424677/attachment.ksh>