This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix for the 4-operand mtfsf instruction use in *contextfunctions (powerpc)
- From: Carlos Eduardo Seo <eduseo at br dot ibm dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 30 Apr 2009 16:30:12 -0300
- Subject: Re: [PATCH] Fix for the 4-operand mtfsf instruction use in *contextfunctions (powerpc)
- Openpgp: id=FC03B16C
- References: <49D16713.3090503@linux.vnet.ibm.com>
Opened a bugzilla ticket for this issue:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=10118
Thanks!
Carlos Eduardo Seo wrote:
> Hello
>
> A recent change added
>
> .machine push
> .machine "power6"
> <mtfsf usage>
> .machine pop
>
> guard around the usage of a 4 operand mtfsf instruction in
> set/swapcontext functions for Power when _ARCH_PWR6 is not defined
>
> I noticed that we also need these when _ARCH_PWR6 is defined, since it
> doesn't define .machine "power6", otherwise the build will fail. The
> attached patch fixes this.
>
> Tested this building glibc with --with-cpu=power6 in a POWER6 system.
>
> Comments?
>
>
--
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center
Linux for Power Toolchain Dept.
Phone: +55 19-2132-4339
E-Mail: eduseo@br.ibm.com