1 | # /* Copyright (C) 2001 |
2 | # * Housemarque Oy |
3 | # * http://www.housemarque.com |
4 | # * |
5 | # * Distributed under the Boost Software License, Version 1.0. (See |
6 | # * accompanying file LICENSE_1_0.txt or copy at |
7 | # * http://www.boost.org/LICENSE_1_0.txt) |
8 | # */ |
9 | # |
10 | # /* Revised by Paul Mensonides (2002) */ |
11 | # |
12 | # /* See http://www.boost.org for most recent version. */ |
13 | # |
14 | # ifndef SIMDPP_PREPROCESSOR_LOGICAL_BOOL_HPP |
15 | # define SIMDPP_PREPROCESSOR_LOGICAL_BOOL_HPP |
16 | # |
17 | # include <simdpp/detail/preprocessor/config/config.hpp> |
18 | # |
19 | # /* SIMDPP_PP_BOOL */ |
20 | # |
21 | # if ~SIMDPP_PP_CONFIG_FLAGS() & SIMDPP_PP_CONFIG_MWCC() |
22 | # define SIMDPP_PP_BOOL(x) SIMDPP_PP_BOOL_I(x) |
23 | # else |
24 | # define SIMDPP_PP_BOOL(x) SIMDPP_PP_BOOL_OO((x)) |
25 | # define SIMDPP_PP_BOOL_OO(par) SIMDPP_PP_BOOL_I ## par |
26 | # endif |
27 | # |
28 | # define SIMDPP_PP_BOOL_I(x) SIMDPP_PP_BOOL_ ## x |
29 | # |
30 | # define SIMDPP_PP_BOOL_0 0 |
31 | # define SIMDPP_PP_BOOL_1 1 |
32 | # define SIMDPP_PP_BOOL_2 1 |
33 | # define SIMDPP_PP_BOOL_3 1 |
34 | # define SIMDPP_PP_BOOL_4 1 |
35 | # define SIMDPP_PP_BOOL_5 1 |
36 | # define SIMDPP_PP_BOOL_6 1 |
37 | # define SIMDPP_PP_BOOL_7 1 |
38 | # define SIMDPP_PP_BOOL_8 1 |
39 | # define SIMDPP_PP_BOOL_9 1 |
40 | # define SIMDPP_PP_BOOL_10 1 |
41 | # define SIMDPP_PP_BOOL_11 1 |
42 | # define SIMDPP_PP_BOOL_12 1 |
43 | # define SIMDPP_PP_BOOL_13 1 |
44 | # define SIMDPP_PP_BOOL_14 1 |
45 | # define SIMDPP_PP_BOOL_15 1 |
46 | # define SIMDPP_PP_BOOL_16 1 |
47 | # define SIMDPP_PP_BOOL_17 1 |
48 | # define SIMDPP_PP_BOOL_18 1 |
49 | # define SIMDPP_PP_BOOL_19 1 |
50 | # define SIMDPP_PP_BOOL_20 1 |
51 | # define SIMDPP_PP_BOOL_21 1 |
52 | # define SIMDPP_PP_BOOL_22 1 |
53 | # define SIMDPP_PP_BOOL_23 1 |
54 | # define SIMDPP_PP_BOOL_24 1 |
55 | # define SIMDPP_PP_BOOL_25 1 |
56 | # define SIMDPP_PP_BOOL_26 1 |
57 | # define SIMDPP_PP_BOOL_27 1 |
58 | # define SIMDPP_PP_BOOL_28 1 |
59 | # define SIMDPP_PP_BOOL_29 1 |
60 | # define SIMDPP_PP_BOOL_30 1 |
61 | # define SIMDPP_PP_BOOL_31 1 |
62 | # define SIMDPP_PP_BOOL_32 1 |
63 | # define SIMDPP_PP_BOOL_33 1 |
64 | # define SIMDPP_PP_BOOL_34 1 |
65 | # define SIMDPP_PP_BOOL_35 1 |
66 | # define SIMDPP_PP_BOOL_36 1 |
67 | # define SIMDPP_PP_BOOL_37 1 |
68 | # define SIMDPP_PP_BOOL_38 1 |
69 | # define SIMDPP_PP_BOOL_39 1 |
70 | # define SIMDPP_PP_BOOL_40 1 |
71 | # define SIMDPP_PP_BOOL_41 1 |
72 | # define SIMDPP_PP_BOOL_42 1 |
73 | # define SIMDPP_PP_BOOL_43 1 |
74 | # define SIMDPP_PP_BOOL_44 1 |
75 | # define SIMDPP_PP_BOOL_45 1 |
76 | # define SIMDPP_PP_BOOL_46 1 |
77 | # define SIMDPP_PP_BOOL_47 1 |
78 | # define SIMDPP_PP_BOOL_48 1 |
79 | # define SIMDPP_PP_BOOL_49 1 |
80 | # define SIMDPP_PP_BOOL_50 1 |
81 | # define SIMDPP_PP_BOOL_51 1 |
82 | # define SIMDPP_PP_BOOL_52 1 |
83 | # define SIMDPP_PP_BOOL_53 1 |
84 | # define SIMDPP_PP_BOOL_54 1 |
85 | # define SIMDPP_PP_BOOL_55 1 |
86 | # define SIMDPP_PP_BOOL_56 1 |
87 | # define SIMDPP_PP_BOOL_57 1 |
88 | # define SIMDPP_PP_BOOL_58 1 |
89 | # define SIMDPP_PP_BOOL_59 1 |
90 | # define SIMDPP_PP_BOOL_60 1 |
91 | # define SIMDPP_PP_BOOL_61 1 |
92 | # define SIMDPP_PP_BOOL_62 1 |
93 | # define SIMDPP_PP_BOOL_63 1 |
94 | # define SIMDPP_PP_BOOL_64 1 |
95 | # define SIMDPP_PP_BOOL_65 1 |
96 | # define SIMDPP_PP_BOOL_66 1 |
97 | # define SIMDPP_PP_BOOL_67 1 |
98 | # define SIMDPP_PP_BOOL_68 1 |
99 | # define SIMDPP_PP_BOOL_69 1 |
100 | # define SIMDPP_PP_BOOL_70 1 |
101 | # define SIMDPP_PP_BOOL_71 1 |
102 | # define SIMDPP_PP_BOOL_72 1 |
103 | # define SIMDPP_PP_BOOL_73 1 |
104 | # define SIMDPP_PP_BOOL_74 1 |
105 | # define SIMDPP_PP_BOOL_75 1 |
106 | # define SIMDPP_PP_BOOL_76 1 |
107 | # define SIMDPP_PP_BOOL_77 1 |
108 | # define SIMDPP_PP_BOOL_78 1 |
109 | # define SIMDPP_PP_BOOL_79 1 |
110 | # define SIMDPP_PP_BOOL_80 1 |
111 | # define SIMDPP_PP_BOOL_81 1 |
112 | # define SIMDPP_PP_BOOL_82 1 |
113 | # define SIMDPP_PP_BOOL_83 1 |
114 | # define SIMDPP_PP_BOOL_84 1 |
115 | # define SIMDPP_PP_BOOL_85 1 |
116 | # define SIMDPP_PP_BOOL_86 1 |
117 | # define SIMDPP_PP_BOOL_87 1 |
118 | # define SIMDPP_PP_BOOL_88 1 |
119 | # define SIMDPP_PP_BOOL_89 1 |
120 | # define SIMDPP_PP_BOOL_90 1 |
121 | # define SIMDPP_PP_BOOL_91 1 |
122 | # define SIMDPP_PP_BOOL_92 1 |
123 | # define SIMDPP_PP_BOOL_93 1 |
124 | # define SIMDPP_PP_BOOL_94 1 |
125 | # define SIMDPP_PP_BOOL_95 1 |
126 | # define SIMDPP_PP_BOOL_96 1 |
127 | # define SIMDPP_PP_BOOL_97 1 |
128 | # define SIMDPP_PP_BOOL_98 1 |
129 | # define SIMDPP_PP_BOOL_99 1 |
130 | # define SIMDPP_PP_BOOL_100 1 |
131 | # define SIMDPP_PP_BOOL_101 1 |
132 | # define SIMDPP_PP_BOOL_102 1 |
133 | # define SIMDPP_PP_BOOL_103 1 |
134 | # define SIMDPP_PP_BOOL_104 1 |
135 | # define SIMDPP_PP_BOOL_105 1 |
136 | # define SIMDPP_PP_BOOL_106 1 |
137 | # define SIMDPP_PP_BOOL_107 1 |
138 | # define SIMDPP_PP_BOOL_108 1 |
139 | # define SIMDPP_PP_BOOL_109 1 |
140 | # define SIMDPP_PP_BOOL_110 1 |
141 | # define SIMDPP_PP_BOOL_111 1 |
142 | # define SIMDPP_PP_BOOL_112 1 |
143 | # define SIMDPP_PP_BOOL_113 1 |
144 | # define SIMDPP_PP_BOOL_114 1 |
145 | # define SIMDPP_PP_BOOL_115 1 |
146 | # define SIMDPP_PP_BOOL_116 1 |
147 | # define SIMDPP_PP_BOOL_117 1 |
148 | # define SIMDPP_PP_BOOL_118 1 |
149 | # define SIMDPP_PP_BOOL_119 1 |
150 | # define SIMDPP_PP_BOOL_120 1 |
151 | # define SIMDPP_PP_BOOL_121 1 |
152 | # define SIMDPP_PP_BOOL_122 1 |
153 | # define SIMDPP_PP_BOOL_123 1 |
154 | # define SIMDPP_PP_BOOL_124 1 |
155 | # define SIMDPP_PP_BOOL_125 1 |
156 | # define SIMDPP_PP_BOOL_126 1 |
157 | # define SIMDPP_PP_BOOL_127 1 |
158 | # define SIMDPP_PP_BOOL_128 1 |
159 | # define SIMDPP_PP_BOOL_129 1 |
160 | # define SIMDPP_PP_BOOL_130 1 |
161 | # define SIMDPP_PP_BOOL_131 1 |
162 | # define SIMDPP_PP_BOOL_132 1 |
163 | # define SIMDPP_PP_BOOL_133 1 |
164 | # define SIMDPP_PP_BOOL_134 1 |
165 | # define SIMDPP_PP_BOOL_135 1 |
166 | # define SIMDPP_PP_BOOL_136 1 |
167 | # define SIMDPP_PP_BOOL_137 1 |
168 | # define SIMDPP_PP_BOOL_138 1 |
169 | # define SIMDPP_PP_BOOL_139 1 |
170 | # define SIMDPP_PP_BOOL_140 1 |
171 | # define SIMDPP_PP_BOOL_141 1 |
172 | # define SIMDPP_PP_BOOL_142 1 |
173 | # define SIMDPP_PP_BOOL_143 1 |
174 | # define SIMDPP_PP_BOOL_144 1 |
175 | # define SIMDPP_PP_BOOL_145 1 |
176 | # define SIMDPP_PP_BOOL_146 1 |
177 | # define SIMDPP_PP_BOOL_147 1 |
178 | # define SIMDPP_PP_BOOL_148 1 |
179 | # define SIMDPP_PP_BOOL_149 1 |
180 | # define SIMDPP_PP_BOOL_150 1 |
181 | # define SIMDPP_PP_BOOL_151 1 |
182 | # define SIMDPP_PP_BOOL_152 1 |
183 | # define SIMDPP_PP_BOOL_153 1 |
184 | # define SIMDPP_PP_BOOL_154 1 |
185 | # define SIMDPP_PP_BOOL_155 1 |
186 | # define SIMDPP_PP_BOOL_156 1 |
187 | # define SIMDPP_PP_BOOL_157 1 |
188 | # define SIMDPP_PP_BOOL_158 1 |
189 | # define SIMDPP_PP_BOOL_159 1 |
190 | # define SIMDPP_PP_BOOL_160 1 |
191 | # define SIMDPP_PP_BOOL_161 1 |
192 | # define SIMDPP_PP_BOOL_162 1 |
193 | # define SIMDPP_PP_BOOL_163 1 |
194 | # define SIMDPP_PP_BOOL_164 1 |
195 | # define SIMDPP_PP_BOOL_165 1 |
196 | # define SIMDPP_PP_BOOL_166 1 |
197 | # define SIMDPP_PP_BOOL_167 1 |
198 | # define SIMDPP_PP_BOOL_168 1 |
199 | # define SIMDPP_PP_BOOL_169 1 |
200 | # define SIMDPP_PP_BOOL_170 1 |
201 | # define SIMDPP_PP_BOOL_171 1 |
202 | # define SIMDPP_PP_BOOL_172 1 |
203 | # define SIMDPP_PP_BOOL_173 1 |
204 | # define SIMDPP_PP_BOOL_174 1 |
205 | # define SIMDPP_PP_BOOL_175 1 |
206 | # define SIMDPP_PP_BOOL_176 1 |
207 | # define SIMDPP_PP_BOOL_177 1 |
208 | # define SIMDPP_PP_BOOL_178 1 |
209 | # define SIMDPP_PP_BOOL_179 1 |
210 | # define SIMDPP_PP_BOOL_180 1 |
211 | # define SIMDPP_PP_BOOL_181 1 |
212 | # define SIMDPP_PP_BOOL_182 1 |
213 | # define SIMDPP_PP_BOOL_183 1 |
214 | # define SIMDPP_PP_BOOL_184 1 |
215 | # define SIMDPP_PP_BOOL_185 1 |
216 | # define SIMDPP_PP_BOOL_186 1 |
217 | # define SIMDPP_PP_BOOL_187 1 |
218 | # define SIMDPP_PP_BOOL_188 1 |
219 | # define SIMDPP_PP_BOOL_189 1 |
220 | # define SIMDPP_PP_BOOL_190 1 |
221 | # define SIMDPP_PP_BOOL_191 1 |
222 | # define SIMDPP_PP_BOOL_192 1 |
223 | # define SIMDPP_PP_BOOL_193 1 |
224 | # define SIMDPP_PP_BOOL_194 1 |
225 | # define SIMDPP_PP_BOOL_195 1 |
226 | # define SIMDPP_PP_BOOL_196 1 |
227 | # define SIMDPP_PP_BOOL_197 1 |
228 | # define SIMDPP_PP_BOOL_198 1 |
229 | # define SIMDPP_PP_BOOL_199 1 |
230 | # define SIMDPP_PP_BOOL_200 1 |
231 | # define SIMDPP_PP_BOOL_201 1 |
232 | # define SIMDPP_PP_BOOL_202 1 |
233 | # define SIMDPP_PP_BOOL_203 1 |
234 | # define SIMDPP_PP_BOOL_204 1 |
235 | # define SIMDPP_PP_BOOL_205 1 |
236 | # define SIMDPP_PP_BOOL_206 1 |
237 | # define SIMDPP_PP_BOOL_207 1 |
238 | # define SIMDPP_PP_BOOL_208 1 |
239 | # define SIMDPP_PP_BOOL_209 1 |
240 | # define SIMDPP_PP_BOOL_210 1 |
241 | # define SIMDPP_PP_BOOL_211 1 |
242 | # define SIMDPP_PP_BOOL_212 1 |
243 | # define SIMDPP_PP_BOOL_213 1 |
244 | # define SIMDPP_PP_BOOL_214 1 |
245 | # define SIMDPP_PP_BOOL_215 1 |
246 | # define SIMDPP_PP_BOOL_216 1 |
247 | # define SIMDPP_PP_BOOL_217 1 |
248 | # define SIMDPP_PP_BOOL_218 1 |
249 | # define SIMDPP_PP_BOOL_219 1 |
250 | # define SIMDPP_PP_BOOL_220 1 |
251 | # define SIMDPP_PP_BOOL_221 1 |
252 | # define SIMDPP_PP_BOOL_222 1 |
253 | # define SIMDPP_PP_BOOL_223 1 |
254 | # define SIMDPP_PP_BOOL_224 1 |
255 | # define SIMDPP_PP_BOOL_225 1 |
256 | # define SIMDPP_PP_BOOL_226 1 |
257 | # define SIMDPP_PP_BOOL_227 1 |
258 | # define SIMDPP_PP_BOOL_228 1 |
259 | # define SIMDPP_PP_BOOL_229 1 |
260 | # define SIMDPP_PP_BOOL_230 1 |
261 | # define SIMDPP_PP_BOOL_231 1 |
262 | # define SIMDPP_PP_BOOL_232 1 |
263 | # define SIMDPP_PP_BOOL_233 1 |
264 | # define SIMDPP_PP_BOOL_234 1 |
265 | # define SIMDPP_PP_BOOL_235 1 |
266 | # define SIMDPP_PP_BOOL_236 1 |
267 | # define SIMDPP_PP_BOOL_237 1 |
268 | # define SIMDPP_PP_BOOL_238 1 |
269 | # define SIMDPP_PP_BOOL_239 1 |
270 | # define SIMDPP_PP_BOOL_240 1 |
271 | # define SIMDPP_PP_BOOL_241 1 |
272 | # define SIMDPP_PP_BOOL_242 1 |
273 | # define SIMDPP_PP_BOOL_243 1 |
274 | # define SIMDPP_PP_BOOL_244 1 |
275 | # define SIMDPP_PP_BOOL_245 1 |
276 | # define SIMDPP_PP_BOOL_246 1 |
277 | # define SIMDPP_PP_BOOL_247 1 |
278 | # define SIMDPP_PP_BOOL_248 1 |
279 | # define SIMDPP_PP_BOOL_249 1 |
280 | # define SIMDPP_PP_BOOL_250 1 |
281 | # define SIMDPP_PP_BOOL_251 1 |
282 | # define SIMDPP_PP_BOOL_252 1 |
283 | # define SIMDPP_PP_BOOL_253 1 |
284 | # define SIMDPP_PP_BOOL_254 1 |
285 | # define SIMDPP_PP_BOOL_255 1 |
286 | # define SIMDPP_PP_BOOL_256 1 |
287 | # |
288 | # endif |
289 | |