Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current predefs #108

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More architectures covered #2
  • Loading branch information
nemothenoone committed Jul 9, 2020
commit 17bdc8b2baa06fa43e1b9ac8720c2ae51cf95db0
1 change: 1 addition & 0 deletions include/boost/predef/architecture/blackfin.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Blackfin Processors from Analog Devices.
#endif

#define BOOST_ARCH_BLACKFIN_NAME "Blackfin"
#define BOOST_ARCH_BLACKFIN_WORD_BITS 16

#endif

Expand Down
2 changes: 2 additions & 0 deletions include/boost/predef/architecture/convex.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Distributed under the Boost Software License, Version 1.0.

#define BOOST_ARCH_CONVEX_NAME "Convex Computer"

#define BOOST_ARCH_CONVEX_WORD_BITS 32

#endif

#include <boost/predef/detail/test.h>
Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/parisc.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Distributed under the Boost Software License, Version 1.0.
#endif

#define BOOST_ARCH_PARISC_NAME "HP/PA RISC"
#define BOOST_ARCH_PARISC_NAME 32

#endif

Expand Down
3 changes: 3 additions & 0 deletions include/boost/predef/architecture/ppc.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,15 @@ Distributed under the Boost Software License, Version 1.0.
# undef BOOST_ARCH_PPC
# if !defined (BOOST_ARCH_PPC) && (defined(__ppc601__) || defined(_ARCH_601))
# define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,1,0)
# define BOOST_ARCH_PPC_WORD_BITS 32
# endif
# if !defined (BOOST_ARCH_PPC) && (defined(__ppc603__) || defined(_ARCH_603))
# define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,3,0)
# define BOOST_ARCH_PPC_WORD_BITS 32
# endif
# if !defined (BOOST_ARCH_PPC) && (defined(__ppc604__) || defined(__ppc604__))
# define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,4,0)
# define BOOST_ARCH_PPC_WORD_BITS 32
# endif
# if !defined (BOOST_ARCH_PPC)
# define BOOST_ARCH_PPC BOOST_VERSION_NUMBER_AVAILABLE
Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/ptx.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Distributed under the Boost Software License, Version 1.0.
#endif

#define BOOST_ARCH_PTX_NAME "PTX"
#define BOOST_ARCH_PTX_WORD_BITS 64

#endif

Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/pyramid.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Pyramid 9810 architecture.
#endif

#define BOOST_ARCH_PYRAMID_NAME "Pyramid 9810"
#define BOOST_ARCH_PYRAMID_WORD_BITS 32

#endif

Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/riscv.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Distributed under the Boost Software License, Version 1.0.
#endif

#define BOOST_ARCH_RISCV_NAME "RISC-V"
#define BOOST_ARCH_RISCV_WORD_BITS 32

#endif

Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/rs6k.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Distributed under the Boost Software License, Version 1.0.
#endif

#define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME
#definf BOOST_ARCH_PWR_WORD_BITS 32

#endif

Expand Down
2 changes: 2 additions & 0 deletions include/boost/predef/architecture/sparc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ Distributed under the Boost Software License, Version 1.0.
# undef BOOST_ARCH_SPARC
# if !defined(BOOST_ARCH_SPARC) && defined(__sparcv9)
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0)
# define BOOST_ARCH_SPARC_WORD_BITS 64
# endif
# if !defined(BOOST_ARCH_SPARC) && defined(__sparcv8)
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0)
# define BOOST_ARCH_SPARC_WORD_BITS 32
# endif
# if !defined(BOOST_ARCH_SPARC)
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_AVAILABLE
Expand Down
5 changes: 5 additions & 0 deletions include/boost/predef/architecture/superh.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,23 @@ If available versions [1-5] are specifically detected.
# undef BOOST_ARCH_SH
# if !defined(BOOST_ARCH_SH) && (defined(__SH5__))
# define BOOST_ARCH_SH BOOST_VERSION_NUMBER(5,0,0)
# define BOOST_ARCH_SH_WORD_BITS 64
# endif
# if !defined(BOOST_ARCH_SH) && (defined(__SH4__))
# define BOOST_ARCH_SH BOOST_VERSION_NUMBER(4,0,0)
# define BOOST_ARCH_SH_WORD_BITS 32
# endif
# if !defined(BOOST_ARCH_SH) && (defined(__sh3__) || defined(__SH3__))
# define BOOST_ARCH_SH BOOST_VERSION_NUMBER(3,0,0)
# define BOOST_ARCH_SH_WORD_BITS 32
# endif
# if !defined(BOOST_ARCH_SH) && (defined(__sh2__))
# define BOOST_ARCH_SH BOOST_VERSION_NUMBER(2,0,0)
# define BOOST_ARCH_SH_WORD_BITS 16
# endif
# if !defined(BOOST_ARCH_SH) && (defined(__sh1__))
# define BOOST_ARCH_SH BOOST_VERSION_NUMBER(1,0,0)
# define BOOST_ARCH_SH_WORD_BITS 16
# endif
# if !defined(BOOST_ARCH_SH)
# define BOOST_ARCH_SH BOOST_VERSION_NUMBER_AVAILABLE
Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/sys370.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Distributed under the Boost Software License, Version 1.0.
#endif

#define BOOST_ARCH_SYS370_NAME "System/370"
#define BOOST_ARCH_SYS370_WORD_BITS 32

#endif

Expand Down
1 change: 1 addition & 0 deletions include/boost/predef/architecture/z.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Distributed under the Boost Software License, Version 1.0.
#endif

#define BOOST_ARCH_Z_NAME "z/Architecture"
#define BOOST_ARCH_Z_WORD_BITS 64

#endif

Expand Down