m68hc11.c (m68hc11_shift_operator): New function.
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 2 Mar 2003 20:04:27 +0000 (21:04 +0100)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sun, 2 Mar 2003 20:04:27 +0000 (21:04 +0100)
commitb45e9837a7e147bfc29adf4a05819b362f09ab82
tree0ef9b98630bafb452e8e53713d7ad883956f7692
parentb1cbe78c098fb70428d66647274f39860aa95977
m68hc11.c (m68hc11_shift_operator): New function.

* config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
* config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
* config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
rotatert and rotate.
("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
("*rotrhi3_addr"): New split for shift insns on address register.
("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
* config/m68hc11/larith.asm (___rotlhi3): New asm function.
(___rotrhi3): Likewise.
* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.

From-SVN: r63677
gcc/ChangeLog
gcc/config/m68hc11/larith.asm
gcc/config/m68hc11/m68hc11-protos.h
gcc/config/m68hc11/m68hc11.c
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc11.md
gcc/config/m68hc11/t-m68hc11-gas