bug-gnupress
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnupress] Proposed changes to section 3.17.2 of gcc.006.txt (#2)


From: Paul A. Crable
Subject: [Bug-gnupress] Proposed changes to section 3.17.2 of gcc.006.txt (#2)
Date: Sun, 4 May 2003 20:58:09 -0700

I have a few questions for the developers that I will need
answered before completing this section:

1.  What is the default value for -minmax/-mnominmax?

2.  What is the default value for -mlong-calls/-mno-long-
calls?

3.  What is the minimum value for -msoft-reg-count?  What
happens if the user provides a value greater than 32?



Here is a revision of section 3.17.2, with "????" in the
places that I need answers for.

3.17.2 M68hc1x Options

These options apply only to the 68hc11 and 68hc12
microcontrollers.

-m6811 -m68hc11

Generate output for a 68hc11. If the compiler has been
configured for 68hc11­based microcontrollers, this option is
set by default and may be omitted.  If the compiler has been
configured for other systems, then this option will force
GCC to generate output for the 68hc11.

-m6812 -m68hc12

Generate output for a 68hc12. If the compiler has been
configured for 68hc12­based microcontrollers, this option is
set by default and may be omitted.  If the compiler has been
configured for other systems, then this option will force
GCC to generate output for the 68hc12.

-m68S12 -m68hcs12

Generate output for a 68hcs12. If the compiler has been
configured for 68hcs12­based microcontrollers, this option
is set by default and may be omitted.  If the compiler has
been configured for other systems, then this option will
force GCC to generate output for the 68hcs12.

-mauto-incdec

Enable the use of 68HC12 pre- and post-autoincrement and
autodecrement addressing modes.  Without this option, the
modes are not invoked.

-minmax -nominmax

Enable (-minmax) or prevent (-nominmax) generation of 68HC12
min and max instructions.  The default option is ?????????.

-mlong-calls -mno-long-calls

Generate all calls as FAR calls (-mlong-calls) or generate
mixed NEAR and FAR calls as the situation warrants (-mno-
long-calls).  In compiling FAR calls, the compiler will
generate a CALL instruction to call a function and the RTC
instruction for returning.  The default value is
???????????.

-msoft-reg-count=count

Specify the number of pseudo­soft registers available to GCC
when compiling.  The minimum number is ????? and the maximum
is 32.  Altering the number may improve performance or
reduce program size, but the result varies from program to
program. No hard and fast rules can be provided.  The user
should experiment to determine which works best.  The
default for count is 4 for 68HC11 and 2 for 68HC12.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]