Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 22 Jun 2016 19:26:40 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: build musl for armv7m

On Wed, Jun 22, 2016 at 01:37:38PM -0700, Zhao, Weiming wrote:
> How about using the following test?
> 
> !defined(__thumb__) || (__ARM_ARCH_7A__ || __ARM_ARCH_7R__ ||
> __ARM_ARCH > 7)
> 
> Because I think those instructions are ISA related, not just
> arm/thumb. For example, using -mcpu=cortex-a8 -mthumb, the original
> code still works.  So if only testing __thumb__, the armv7-a thumb
> mode will fall into the slow path too.

I think perhaps __thumb2__ is what you're looking for...?

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.