LoongArch: Use enums for constants
commit39320de286c752294861542572363547100420aa
authorYang Yujie <yangyujie@loongson.cn>
Mon, 8 Jan 2024 01:14:09 +0000 (8 09:14 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Wed, 10 Jan 2024 03:51:35 +0000 (10 11:51 +0800)
tree65cd9148839c58c6f7691399213561a7b5b85e37
parent69056166e4c8773c29f2ff08d899ef350fcc76a2
LoongArch: Use enums for constants

Target features constants from loongarch-def.h are currently defined as macros.
Switch to enums for better look in the debugger.

gcc/ChangeLog:

* config/loongarch/loongarch-def.h: Define constants with
enums instead of Macros.
gcc/config/loongarch/loongarch-def.h