Clean up asm statements a bit.
authorUlrich Drepper <drepper@redhat.com>
Sun, 24 Aug 1997 10:52:09 +0000 (10:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 24 Aug 1997 10:52:09 +0000 (10:52 +0000)
sysdeps/standalone/i386/i386.h
sysdeps/standalone/i960/i960ca.h

index 20d7f01..d76f481 100644 (file)
@@ -311,11 +311,11 @@ static inline void set_segment(
 
   /* Now, reload all segment registers so the limit takes effect. */
 
-  asm volatile( "movw %%ds,%0 ; movw %0,%%ds
-                movw %%es,%0 ; movw %0,%%es
-                movw %%fs,%0 ; movw %0,%%fs
-                movw %%gs,%0 ; movw %0,%%gs
-                movw %%ss,%0 ; movw %0,%%ss"
+  asm volatile( "movw %%ds,%0 ; movw %0,%%ds\n"
+               "movw %%es,%0 ; movw %0,%%es\n"
+               "movw %%fs,%0 ; movw %0,%%fs\n"
+               "movw %%gs,%0 ; movw %0,%%gs\n"
+               "movw %%ss,%0 ; movw %0,%%ss"
                   : "=r" (tmp_segment)
                   : "0"  (tmp_segment)
              );
index ba8db2b..253d5d9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
    On-Line Applications Research Corporation.
@@ -157,10 +157,10 @@ struct i80960ca_ctltbl {
 
 #define clear_intr( xint ) \
  { register unsigned32 _xint=(xint); \
-   asm volatile( "loop_til_cleared:
-                    clrbit %0,sf0,sf0 ; \
-                    bbs    %0,sf0,loop_til_cleared" \
-                  : "=d" (_xint) : "0" (_xint) ); \
+   asm volatile( "loop_til_cleared:" \
+                 "  clrbit %0,sf0,sf0 ;" \
+                 "  bbs    %0,sf0,loop_til_cleared" \
+                 : "=d" (_xint) : "0" (_xint) ); \
  }
 
 #define reload_ctl_group( group ) \