Module Name:    src
Committed By:   matt
Date:           Fri May 29 19:37:27 UTC 2015

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/mips: netbsd.h

Log Message:
Add the historical __OCTEON__ builtin_define along with __mips_popcount which
is defined if the platform has the dpop/pop instructions.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h:1.5 src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h:1.6
--- src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h:1.5	Thu Aug 14 15:16:20 2014
+++ src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h	Fri May 29 19:37:27 2015
@@ -163,6 +163,11 @@ along with GCC; see the file COPYING3.  
       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.  */		\

Reply via email to