This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AVR documentation update



2000-11-30  Marek Michalkiewicz  <marekm@linux.org.pl>

	* install.texi (avr): Replace incomplete list of supported MCU
	types with a link to the current one ...
	* invoke.texi (AVR Options): ... here.  Update -mmcu= to list
	all supported MCU types.  Document -minit-stack= default.
	Document new options -mno-tablejump, -mtiny-stack.
	* md.texi (AVR family):  Fix typo in 'w' constraint letter
	description.  Document 'q'.  Update 'O'.


diff -rc3p orig/egcs/gcc/install.texi egcs/gcc/install.texi
*** orig/egcs/gcc/install.texi	Sun Oct 22 20:48:15 2000
--- egcs/gcc/install.texi	Thu Nov 30 16:14:15 2000
*************** AMD Am29050 used in a system running a v
*** 992,1004 ****
  @item avr
  ATMEL AVR-family micro controllers.  These are used in embedded
  applications.  There are no standard Unix configurations.
! Supports following MCU's:
!  - AT90S23xx
!  - ATtiny22
!  - AT90S44xx
!  - AT90S85xx
!  - ATmega603/603L
!  - ATmega103/103L
  
  @item decstation-*
  MIPS-based DECstations can support three different personalities:
--- 992,998 ----
  @item avr
  ATMEL AVR-family micro controllers.  These are used in embedded
  applications.  There are no standard Unix configurations.
! See @xref{AVR Options} for the list of supported MCU types.
  
  @item decstation-*
  MIPS-based DECstations can support three different personalities:
diff -rc3p orig/egcs/gcc/invoke.texi egcs/gcc/invoke.texi
*** orig/egcs/gcc/invoke.texi	Sat Nov 25 20:58:52 2000
--- egcs/gcc/invoke.texi	Thu Nov 30 16:17:18 2000
*************** in the following sections.
*** 474,480 ****
  
  @emph{AVR Options}
  -mmcu=@var{mcu} -msize -minit-stack=@var{n} -mno-interrupts
! -mcall-prologues
  
  @emph{MCore Options}
  -mhardlit, -mno-hardlit -mdiv -mno-div -mrelax-immediates 
--- 474,480 ----
  
  @emph{AVR Options}
  -mmcu=@var{mcu} -msize -minit-stack=@var{n} -mno-interrupts
! -mcall-prologues -mno-tablejump -mtiny-stack
  
  @emph{MCore Options}
  -mhardlit, -mno-hardlit -mdiv -mno-div -mrelax-immediates 
*************** These options are defined for AVR implem
*** 7312,7325 ****
  
  @table @code
  @item -mmcu=@var{mcu}
! Specify ATMEL AVR mcu (at90s23xx,attiny22,at90s44xx,at90s85xx,atmega603,
! atmega103).
  
  @item -msize
! Output instruction size's to the asm file
  
  @item -minit-stack=@var{N}
! Specify the initial stack address
  
  @item -mno-interrupts
  Generated code is not compatible with hardware interrupts.
--- 7312,7343 ----
  
  @table @code
  @item -mmcu=@var{mcu}
! Specify ATMEL AVR instruction set or MCU type.
! 
! Instruction set avr1 is for the minimal AVR core, not supported by the C
! compiler, only for assembler programs (MCU types: at90s1200, attiny10,
! attiny11, attiny12, attiny15, attiny28).
! 
! Instruction set avr2 (default) is for the classic AVR core with up to
! 8K program memory space (MCU types: at90s2313, at90s2323, attiny22,
! at90s2333, at90s2343, at90s4414, at90s4433, at90s4434, at90s8515,
! at90c8534, at90s8535).
! 
! Instruction set avr3 is for the classic AVR core with up to 128K program
! memory space (MCU types: atmega103, atmega603).
! 
! Instruction set avr4 is for the enhanced AVR core with up to 8K program
! memory space (MCU types: atmega83, atmega85).
! 
! Instruction set avr5 is for the enhanced AVR core with up to 128K program
! memory space (MCU types: atmega161, atmega163, atmega32, at94k).
  
  @item -msize
! Output instruction sizes to the asm file.
  
  @item -minit-stack=@var{N}
! Specify the initial stack address, which may be a symbol or numeric value,
! __stack is the default.
  
  @item -mno-interrupts
  Generated code is not compatible with hardware interrupts.
*************** Code size will be smaller.
*** 7328,7333 ****
--- 7346,7357 ----
  @item -mcall-prologues
  Functions prologues/epilogues expanded as call to appropriate
  subroutines. Code size will be smaller.
+ 
+ @item -mno-tablejump
+ Do not generate tablejump insns which sometimes increase code size.
+ 
+ @item -mtiny-stack
+ Change only the low 8 bits of the stack pointer.
  @end table
  
  @node MCore Options
diff -rc3p orig/egcs/gcc/md.texi egcs/gcc/md.texi
*** orig/egcs/gcc/md.texi	Wed Nov 22 18:32:09 2000
--- egcs/gcc/md.texi	Thu Nov 30 16:16:42 2000
*************** Registers from r16 to r23
*** 1349,1355 ****
  Registers from r16 to r31
  
  @item w
! Register from r24 to r31. This registers can be used in @samp{addw} command
  
  @item e
  Pointer register (r26 - r31)
--- 1349,1355 ----
  Registers from r16 to r31
  
  @item w
! Registers from r24 to r31.  These registers can be used in @samp{adiw} command
  
  @item e
  Pointer register (r26 - r31)
*************** Pointer register (r26 - r31)
*** 1357,1362 ****
--- 1357,1365 ----
  @item b
  Base pointer register (r28 - r31)
  
+ @item q
+ Stack pointer register (SPH:SPL)
+ 
  @item t
  Temporary register r0
  
*************** Constant that fits in 8 bits
*** 1388,1394 ****
  Constant integer -1
  
  @item O
! Constant integer 8
  
  @item P
  Constant integer 1
--- 1391,1397 ----
  Constant integer -1
  
  @item O
! Constant integer 8, 16, or 24
  
  @item P
  Constant integer 1



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]