[NDS32] Add intrinsic functions for interrupt control.
authorMonk Chiang <sh.chiang04@gmail.com>
Sun, 8 Apr 2018 14:28:44 +0000 (14:28 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 8 Apr 2018 14:28:44 +0000 (14:28 +0000)
commit8b9322f0a56fc6785e0165bb99619920a67cca09
treedd8ff1a870577132451e8eafeb02254cb3770d28
parent5f2a98c3f5a3ce1cb169abaf23fe7a031ae88043
[NDS32] Add intrinsic functions for interrupt control.

gcc/
* config.gcc (nds32le-*-*, nds32be-*-*): Add nds32/nds32_intrinsic.h
into tm_file.
* config/nds32/constants.md (unspec_volatile_element): Add enum values
for interrupt control.
* config/nds32/nds32-intrinsic.c: Implementation of intrinsic
functions for interrupt control.
* config/nds32/nds32-intrinsic.md: Likewise.
* config/nds32/nds32_intrinsic.h: Likewise.
* config/nds32/nds32.h (nds32_builtins): Likewise.

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