This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug target/51345] [avr] Devices with 8-bit SP need their own multilib(s)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51345

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-12-02 19:14:20 UTC ---
Author: gjl
Date: Fri Dec  2 19:14:15 2011
New Revision: 181936

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181936
Log:
    PR target/51002
    PR target/51345
    * config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
    Enclose parts using __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).
    Add FIXME comments.
    * config/avr/avr.md (movhi_sp_r_irq_off, movhi_sp_r_irq_on): Set
    insn condition to !AVR_HAVE_8BIT_SP.
    * config/avr/avr.c (output_movhi): "clr%B0" instead of "in
    %B0,__SP_H__" if AVR_HAVE_8BIT_SP.
    (avr_file_start): Only print "__SP_H__ = 0x3e" if !AVR_HAVE_8BIT_SP.
    * config/avr/avr-devices.c (avr_mcu_types): ATtiny4313 and
    AT86RF401 have a 16-bit SP (their manual is bogus).


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/avr/avr-devices.c
    branches/gcc-4_6-branch/gcc/config/avr/avr.c
    branches/gcc-4_6-branch/gcc/config/avr/avr.md
    branches/gcc-4_6-branch/gcc/config/avr/libgcc.S


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