This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386/asm-4 test: use amd64's natural addressing mode on all OSs
- From: Alexandre Oliva <oliva at adacore dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches\@gcc.gnu.org" <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Mike Stump <mikestump at comcast dot net>
- Date: Thu, 15 Aug 2019 10:01:38 -0300
- Subject: Re: i386/asm-4 test: use amd64's natural addressing mode on all OSs
- References: <ork1beirot.fsf@lxoliva.fsfla.org> <CAFULd4Y2Y4L2oQupWFSbv=jeJfubXbs9e+=cj=S=sMBNSOEk=Q@mail.gmail.com>
On Aug 15, 2019, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Thu, Aug 15, 2019 at 1:39 PM Alexandre Oliva <oliva@adacore.com> wrote:
>> If we just use the best-suited way to
>> take the address of a function behind the compiler's back on each
>> target variant, we're less likely to hit unexpected failures.
> Perhaps we should use true absolute address:
But why? Using absolute addresses is not relevant at all to the test.
We just need some means to take the address of foo without the
compiler's realizing we're doing so.
--
Alexandre Oliva, freedom fighter he/him https://FSFLA.org/blogs/lxo
Be the change, be Free! FSF Latin America board member
GNU Toolchain Engineer Free Software Evangelist
Hay que enGNUrecerse, pero sin perder la terGNUra jamás - Che GNUevara