[NDS32] Add intrinsic functions for cache control.
authorMonk Chiang <sh.chiang04@gmail.com>
Sat, 7 Apr 2018 06:21:56 +0000 (06:21 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sat, 7 Apr 2018 06:21:56 +0000 (06:21 +0000)
commitf1a0afe2aa1447c2d7962f52e8e278c40ba5fe19
treed6c75d8ea7b037e9472b1119b738b49aff9f9e68
parent79f0e157d5fb1eee2fbb35e9623692bf12c18bd8
[NDS32] Add intrinsic functions for cache control.

gcc/
* config/nds32/constants.md (unspec_volatile_element): Add cache
control enum values.
* config/nds32/nds32-intrinsic.c: Add cache control expand functions.
* config/nds32/nds32-intrinsic.md: Add cache control patterns.
* config/nds32/nds32.c (nds32_cctl_names): New.
(nds32_print_operand): Handle cache control register names.
* config/nds32/nds32.h (nds32_builtins): New enum values.
* config/nds32/nds32_intrinsic.h: Add cache control enum types and
macros.
* config/nds32/nds32.md (type): Add mmu.
* config/nds32/pipelines.md (simple_insn): Add mmu.

From-SVN: r259205
gcc/ChangeLog
gcc/config/nds32/constants.md
gcc/config/nds32/nds32-intrinsic.c
gcc/config/nds32/nds32-intrinsic.md
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h
gcc/config/nds32/nds32.md
gcc/config/nds32/nds32_intrinsic.h
gcc/config/nds32/pipelines.md