[PATCH] Fix for the 4-operand mtfsf instruction use in *context functions (powerpc)
Carlos Eduardo Seo
cseo@linux.vnet.ibm.com
Tue Mar 31 14:04:00 GMT 2009
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4-op-mtfsf-fix.patch
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090331/2471fc78/attachment.ksh>
More information about the Libc-alpha
mailing list