[Gc] alpha_mach_dep.S comment problem

Boehm, Hans hans.boehm at hp.com
Mon Jul 11 15:39:12 PDT 2005


Thanks.  This does look like an improvement to me.  Could you resend the
patch as an attachment?  It arrived here with some line-wrapping
problems.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Christian Thalinger
> Sent: Monday, July 11, 2005 3:01 PM
> To: gc-ml
> Subject: [Gc] alpha_mach_dep.S comment problem
> 
> 
> Hi!
> 
> We are using boehm-gc in CACAO and i've got some problems 
> compiling it on a debian box. The preprocessor does not like 
> the # comments. So, why not using C comments, when we already 
> use the preprocessor? Attached is a patch against 6.5.
> 
> TWISTI
> 
> Index: alpha_mach_dep.S 
> ===================================================================
> RCS file: /ahome/cacao/cacaocvs/cacao/src/boehm-gc/alpha_mach_dep.S,v
> retrieving revision 1.2
> diff -u -3 -p -r1.2 alpha_mach_dep.S
> --- alpha_mach_dep.S    10 Jul 2004 15:34:06 -0000      1.2
> +++ alpha_mach_dep.S    11 Jul 2005 21:57:32 -0000
> @@ -1,4 +1,4 @@
> - # $Id: alpha_mach_dep.S,v 1.2 2004/07/10 15:34:06 stefan Exp $
> +/* $Id: alpha_mach_dep.S,v 1.2 2004/07/10 15:34:06 stefan Exp $
> */
>         .arch ev6
>  
>          .text
> @@ -12,13 +12,13 @@ GC_push_regs:
>          .mask   0x04000000, 0
>          .frame  $sp, 16, $26, 0
>  
> - # $0          integer result
> - # $1-$8       temp regs - not preserved cross calls
> - # $9-$15      call saved regs
> - # $16-$21     argument regs - not preserved cross calls
> - # $22-$28     temp regs - not preserved cross calls
> - # $29         global pointer - not preserved cross calls
> - # $30         stack pointer
> +/* $0          integer result
> */
> +/* $1-$8       temp regs - not preserved cross calls
> */
> +/* $9-$15      call saved regs
> */
> +/* $16-$21     argument regs - not preserved cross calls
> */
> +/* $22-$28     temp regs - not preserved cross calls
> */
> +/* $29         global pointer - not preserved cross calls
> */
> +/* $30         stack pointer
> */
>  
>  # define call_push(x)                  \
>         mov   x, $16;                   \
> @@ -33,12 +33,12 @@ GC_push_regs:
>          call_push($14)
>          call_push($15)
>  
> - # $f0-$f1     floating point results
> - # $f2-$f9     call saved regs
> - # $f10-$f30   temp regs - not preserved cross calls
> +/* $f0-$f1     floating point results
> */
> +/* $f2-$f9     call saved regs
> */
> +/* $f10-$f30   temp regs - not preserved cross calls
> */
>  
> -       # Use the most efficient transfer method for this hardware.
> -       # Bit 1 detects the FIX extension, which includes ftoit.
> +       /* Use the most efficient transfer method for this 
> hardware. */
> +       /* Bit 1 detects the FIX extension, which includes ftoit. */
>         amask   2, $0
>         bne     $0, $use_stack
>  
> 
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com 
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list