[ARC] Update sleep builtin.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 23 Apr 2018 09:54:59 +0000 (11:54 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 23 Apr 2018 09:54:59 +0000 (11:54 +0200)
commit31d2e01ad472f11ebfd9cc3405238e90cf25a09c
tree54db4b435616f4950675c5720a8bd8c084b94699
parent6dfcb0c474cd4a640aaec613ebc09c9659ec688c
[ARC] Update sleep builtin.

gcc/
2018-04-23  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc-protos.h (check_if_valid_sleep_operand): Remove.
* config/arc/arc.c (arc_expand_builtin): Sleep accepts registers
and short u6 immediate.
(check_if_valid_sleep_operand): Remove.
* config/arc/arc.md (Sleep): Accepts registers and u6 immediates.

changelog

From-SVN: r259557
gcc/ChangeLog
gcc/config/arc/arc-protos.h
gcc/config/arc/arc.c
gcc/config/arc/arc.md