aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/gcn/gcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/gcn/gcn.h')
-rw-r--r--gcc/config/gcn/gcn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/gcn/gcn.h b/gcc/config/gcn/gcn.h
index 5198fbc..3d42de3 100644
--- a/gcc/config/gcn/gcn.h
+++ b/gcc/config/gcn/gcn.h
@@ -43,6 +43,8 @@ extern const struct gcn_device_def {
builtin_define ("__CDNA1__"); \
else if (TARGET_CDNA2) \
builtin_define ("__CDNA2__"); \
+ else if (TARGET_CDNA3) \
+ builtin_define ("__CDNA3__"); \
else if (TARGET_RDNA2) \
builtin_define ("__RDNA2__"); \
else if (TARGET_RDNA3) \