Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/mips Add the historical __...
details: https://anonhg.NetBSD.org/src/rev/bef0c66c328a
branches: trunk
changeset: 338547:bef0c66c328a
user: matt <matt%NetBSD.org@localhost>
date: Fri May 29 19:37:27 2015 +0000
description:
Add the historical __OCTEON__ builtin_define along with __mips_popcount which
is defined if the platform has the dpop/pop instructions.
diffstat:
external/gpl3/gcc/dist/gcc/config/mips/netbsd.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r a79e8cab85b3 -r bef0c66c328a external/gpl3/gcc/dist/gcc/config/mips/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h Fri May 29 18:47:13 2015 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h Fri May 29 19:37:27 2015 +0000
@@ -163,6 +163,11 @@
else \
builtin_define ("__MIPSEL__"); \
\
+ if (TARGET_OCTEON) \
+ builtin_define ("__OCTEON__"); \
+ \
+ if (ISA_HAS_POP) \
+ builtin_define ("__mips_popcount"); \
/* No language dialect defines. */ \
\
/* ABIs handled in TARGET_OS_CPP_BUILTINS. */ \
Home |
Main Index |
Thread Index |
Old Index