aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-03-10 04:47:30 +0000
committerUlrich Drepper <drepper@redhat.com>2009-03-10 04:47:30 +0000
commit1454da21955742494232aa8b34c5e238263ad37a (patch)
treea04d6ce06e12e2d8a36208b7b1125346eeeb787a /sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
parentbddec78c7b827fde3f086f6a576237508f7099b0 (diff)
downloadglibc-1454da21955742494232aa8b34c5e238263ad37a.zip
glibc-1454da21955742494232aa8b34c5e238263ad37a.tar.gz
glibc-1454da21955742494232aa8b34c5e238263ad37a.tar.bz2
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use
.machine push; .machine "power6" and .machine pop around mtfsf insns outside of _ARCH_PWR6 define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, relax_fenv_state): Likewise.
Diffstat (limited to 'sysdeps/powerpc/fpu/tst-setcontext-fpscr.c')
-rw-r--r--sysdeps/powerpc/fpu/tst-setcontext-fpscr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c b/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
index a15fe86..e75a7f1 100644
--- a/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
+++ b/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
@@ -111,7 +111,11 @@ typedef unsigned int si_fpscr_t __attribute__ ((__mode__ (__SI__)));
tmp __attribute__ ((__aligned__(8))); \
tmp.fpscr = __fpscr; \
/* Set the entire 64-bit FPSCR. */ \
- __asm__ ("lfd%U0 0,%0; mtfsf 255,0,1,0" : : "m" (tmp.d) : "fr0"); \
+ __asm__ ("lfd%U0 0,%0; " \
+ ".machine push; " \
+ ".machine \"power6\"; " \
+ "mtfsf 255,0,1,0; " \
+ ".machine pop" : : "m" (tmp.d) : "fr0"); \
tmp.d = 0; \
__asm__("lfd%U0 0,%0" : : "m" (tmp.d) : "fr0"); \
}
n value='users/vapier/sim/gnulib-build'>users/vapier/sim/gnulib-build Unnamed repository; edit this file 'description' to name the repository.root
aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-unix.c
AgeCommit message (Expand)AuthorFilesLines
1993-07-02 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,Jim Kingdon1-2/+3
1993-07-01 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don'tJim Kingdon1-4/+11
1993-06-30 * inftarg.c: Remove unused include of terminal.h.Jim Kingdon1-8/+258
1993-06-27* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.Jim Kingdon1-1/+4
1993-06-26 * remote.c: Add arg names to prototypes, in a modest effort atStu Grossman1-12/+17
1993-05-29 * Makefile.in: Add new file ser-tcp.c.Stu Grossman1-98/+129
1993-05-06 * ser-unix.c (wait_for): Use VTIME to do timeouts instead ofStu Grossman1-16/+46
1993-05-04 * ser-unix.c (wait_for): New routine to handle read timeouts,Stu Grossman1-97/+63
1993-05-02 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hexFred Fish1-1/+1
1993-04-30 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal withJim Kingdon1-17/+96
1993-04-09 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.Stu Grossman1-19/+12
1993-04-06 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].Stu Grossman1-0/+324