avr-protos.h (avr_out_sign_extend): New.
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 24 Oct 2014 14:25:10 +0000 (14:25 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Fri, 24 Oct 2014 14:25:10 +0000 (14:25 +0000)
commit8e3d9e673a07f84908bb7bb6b8e313ec45e6ed78
treebe88d9d4d42665106a73f2ba3006d79400f1fe2a
parent709def90a4b8dfa36dee0a51b40f6691d7d203cc
avr-protos.h (avr_out_sign_extend): New.

* avr-protos.h (avr_out_sign_extend): New.
* avr.c (avr_adjust_insn_length) [ADJUST_LEN_SEXT]: Handle.
(avr_out_sign_extend): New function.
* avr.md (extendqihi2, extendqipsi2, extendqisi2, extendhipsi2)
(extendhisi2, extendpsisi2): Use it.
(adjust_len) [sext]: New.

From-SVN: r216668
gcc/ChangeLog
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.c
gcc/config/avr/avr.md