Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 13:23:41 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Juli Mallett <juli@clockworksquid.com>
Cc:        Justin Hibbits <chmeeedalf@gmail.com>, src-committers <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r300154 - head/sys/net
Message-ID:  <CAPyFy2CmgbyWv6q1_Nm5NxyPukTAq__FtyG92Om__dyzbTE5Zg@mail.gmail.com>
In-Reply-To: <CACVs6=9Nh8kKdhu37k=sBF7oCKpBY3uk95WA9XioW1yzoxp%2B8Q@mail.gmail.com>
References:  <201605181545.u4IFjCKD030751@repo.freebsd.org> <20160518105033.1eae7432@zhabar.knownspace> <CANCZdfpn=SpmQi-ZWZphQjAn3s_g=hmuSbUkO4uGTA1q_vWwSg@mail.gmail.com> <7EC6D845-E9EE-4D9E-988B-D433526BAAB1@yahoo.com> <20160518114134.7a32e69e@zhabar.knownspace> <CACVs6=9Nh8kKdhu37k=sBF7oCKpBY3uk95WA9XioW1yzoxp%2B8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 May 2016 at 13:11, Juli Mallett <juli@clockworksquid.com> wrote:
> On Wed, May 18, 2016 at 9:41 AM, Justin Hibbits <chmeeedalf@gmail.com> wrote:
>> #if (defined(__powerpc__) && !defined(__powerpc64__)) ||
>> (defined(__mips__) && !defined(__mips64__))
>>
>> should work.
>
> Depending on what the point of this is on MIPS, it is probably also
> inadequate.  I believe you want a MIPS ABI check, as we can support
> 64-bit atomics with n32 and n64 ABIs, so !defined(__mips_n32) &&
> !defined(__mips_n64).

I've started trying to collect these details on
https://wiki.freebsd.org/EdMaste/ArchitectureSpecifics .  (My plan is
to move it to a better location when it's reasonably complete.)

There's no information for the MIPS variants right now; I'd be happy
for someone who knows those details to update the wiki page.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CmgbyWv6q1_Nm5NxyPukTAq__FtyG92Om__dyzbTE5Zg>