38 #define bfd_mach_rider_a 0x0001
39 #define bfd_mach_rider_b 0x0002
40 #define bfd_mach_rider_c 0x0003
41 #define bfd_mach_rider_2 0x0004
42 #define bfd_mach_rider_d 0x0002
43 #define bfd_mach_rider_mask 0x000f
45 #define SEC_ARCH_BIT_0 0x008
48 #define TRICORE_V2_UP TRICORE_V2
49 #define TRICORE_RIDER_D_UP (TRICORE_RIDER_D | TRICORE_V2_UP)
50 #define TRICORE_RIDER_B_UP (TRICORE_RIDER_B | TRICORE_RIDER_D_UP)
52 #define TRICORE_RIDER_B_DN TRICORE_RIDER_B
53 #define TRICORE_RIDER_D_DN (TRICORE_RIDER_D | TRICORE_RIDER_B_DN)
54 #define TRICORE_V2_DN (TRICORE_V2 | TRICORE_RIDER_D_DN)
106 #if defined(__STDC__) || defined(ALMOST_STDC)
107 #define F(x) TRICORE_FMT_##x
108 #elif defined(_MSC_VER)
109 #define F(x) TRICORE_FMT_##x
111 #define F(x) TRICORE_FMT_ x
263 #define FMT_ABS_NONE '0'
264 #define FMT_ABS_OFF18 '1'
265 #define FMT_ABS_S1_D '2'
266 #define FMT_ABSB_NONE '0'
267 #define FMT_ABSB_OFF18 '1'
268 #define FMT_ABSB_B '2'
269 #define FMT_ABSB_BPOS3 '3'
270 #define FMT_B_NONE '0'
271 #define FMT_B_DISP24 '1'
272 #define FMT_BIT_NONE '0'
273 #define FMT_BIT_D '1'
274 #define FMT_BIT_P2 '2'
275 #define FMT_BIT_P1 '3'
276 #define FMT_BIT_S2 '4'
277 #define FMT_BIT_S1 '5'
278 #define FMT_BO_NONE '0'
279 #define FMT_BO_OFF10 '1'
280 #define FMT_BO_S2 '2'
281 #define FMT_BO_S1_D '3'
282 #define FMT_BOL_NONE '0'
283 #define FMT_BOL_OFF16 '1'
284 #define FMT_BOL_S2 '2'
285 #define FMT_BOL_S1_D '3'
286 #define FMT_BRC_NONE '0'
287 #define FMT_BRC_DISP15 '1'
288 #define FMT_BRC_CONST4 '2'
289 #define FMT_BRC_S1 '3'
290 #define FMT_BRN_NONE '0'
291 #define FMT_BRN_DISP15 '1'
292 #define FMT_BRN_N '2'
293 #define FMT_BRN_S1 '3'
294 #define FMT_BRR_NONE '0'
295 #define FMT_BRR_DISP15 '1'
296 #define FMT_BRR_S2 '2'
297 #define FMT_BRR_S1 '3'
298 #define FMT_RC_NONE '0'
300 #define FMT_RC_CONST9 '2'
301 #define FMT_RC_S1 '3'
302 #define FMT_RCPW_NONE '0'
303 #define FMT_RCPW_D '1'
304 #define FMT_RCPW_P '2'
305 #define FMT_RCPW_W '3'
306 #define FMT_RCPW_CONST4 '4'
307 #define FMT_RCPW_S1 '5'
308 #define FMT_RCR_NONE '0'
309 #define FMT_RCR_D '1'
310 #define FMT_RCR_S3 '2'
311 #define FMT_RCR_CONST9 '3'
312 #define FMT_RCR_S1 '4'
313 #define FMT_RCRR_NONE '0'
314 #define FMT_RCRR_D '1'
315 #define FMT_RCRR_S3 '2'
316 #define FMT_RCRR_CONST4 '3'
317 #define FMT_RCRR_S1 '4'
318 #define FMT_RCRW_NONE '0'
319 #define FMT_RCRW_D '1'
320 #define FMT_RCRW_S3 '2'
321 #define FMT_RCRW_W '3'
322 #define FMT_RCRW_CONST4 '4'
323 #define FMT_RCRW_S1 '5'
324 #define FMT_RLC_NONE '0'
325 #define FMT_RLC_D '1'
326 #define FMT_RLC_CONST16 '2'
327 #define FMT_RLC_S1 '3'
328 #define FMT_RR_NONE '0'
331 #define FMT_RR_S2 '3'
332 #define FMT_RR_S1 '4'
333 #define FMT_RR1_NONE '0'
334 #define FMT_RR1_D '1'
335 #define FMT_RR1_N '2'
336 #define FMT_RR1_S2 '3'
337 #define FMT_RR1_S1 '4'
338 #define FMT_RR2_NONE '0'
339 #define FMT_RR2_D '1'
340 #define FMT_RR2_S2 '2'
341 #define FMT_RR2_S1 '3'
342 #define FMT_RRPW_NONE '0'
343 #define FMT_RRPW_D '1'
344 #define FMT_RRPW_P '2'
345 #define FMT_RRPW_W '3'
346 #define FMT_RRPW_S2 '4'
347 #define FMT_RRPW_S1 '5'
348 #define FMT_RRR_NONE '0'
349 #define FMT_RRR_D '1'
350 #define FMT_RRR_S3 '2'
351 #define FMT_RRR_N '3'
352 #define FMT_RRR_S2 '4'
353 #define FMT_RRR_S1 '5'
354 #define FMT_RRR1_NONE '0'
355 #define FMT_RRR1_D '1'
356 #define FMT_RRR1_S3 '2'
357 #define FMT_RRR1_N '3'
358 #define FMT_RRR1_S2 '4'
359 #define FMT_RRR1_S1 '5'
360 #define FMT_RRR2_NONE '0'
361 #define FMT_RRR2_D '1'
362 #define FMT_RRR2_S3 '2'
363 #define FMT_RRR2_S2 '3'
364 #define FMT_RRR2_S1 '4'
365 #define FMT_RRRR_NONE '0'
366 #define FMT_RRRR_D '1'
367 #define FMT_RRRR_S3 '2'
368 #define FMT_RRRR_S2 '3'
369 #define FMT_RRRR_S1 '4'
370 #define FMT_RRRW_NONE '0'
371 #define FMT_RRRW_D '1'
372 #define FMT_RRRW_S3 '2'
373 #define FMT_RRRW_W '3'
374 #define FMT_RRRW_S2 '4'
375 #define FMT_RRRW_S1 '5'
376 #define FMT_SYS_NONE '0'
377 #define FMT_SYS_S1_D '1'
378 #define FMT_SB_NONE '0'
379 #define FMT_SB_DISP8 '1'
380 #define FMT_SBC_NONE '0'
381 #define FMT_SBC_CONST4 '1'
382 #define FMT_SBC_DISP4 '2'
383 #define FMT_SBR_NONE '0'
384 #define FMT_SBR_S2 '1'
385 #define FMT_SBR_DISP4 '2'
386 #define FMT_SBRN_NONE '0'
387 #define FMT_SBRN_N '1'
388 #define FMT_SBRN_DISP4 '2'
389 #define FMT_SC_NONE '0'
390 #define FMT_SC_CONST8 '1'
391 #define FMT_SLR_NONE '0'
392 #define FMT_SLR_S2 '1'
393 #define FMT_SLR_D '2'
394 #define FMT_SLRO_NONE '0'
395 #define FMT_SLRO_OFF4 '1'
396 #define FMT_SLRO_D '2'
397 #define FMT_SR_NONE '0'
398 #define FMT_SR_S1_D '1'
399 #define FMT_SRC_NONE '0'
400 #define FMT_SRC_CONST4 '1'
401 #define FMT_SRC_S1_D '2'
402 #define FMT_SRO_NONE '0'
403 #define FMT_SRO_S2 '1'
404 #define FMT_SRO_OFF4 '2'
405 #define FMT_SRR_NONE '0'
406 #define FMT_SRR_S2 '1'
407 #define FMT_SRR_S1_D '2'
408 #define FMT_SRRS_NONE '0'
409 #define FMT_SRRS_S2 '1'
410 #define FMT_SRRS_S1_D '2'
411 #define FMT_SRRS_N '3'
412 #define FMT_SSR_NONE '0'
413 #define FMT_SSR_S2 '1'
414 #define FMT_SSR_S1 '2'
415 #define FMT_SSRO_NONE '0'
416 #define FMT_SSRO_OFF4 '1'
417 #define FMT_SSRO_S1 '2'
void tricore_init_arch_vars(unsigned long mach)
const unsigned long opcode
const unsigned long opcode
unsigned long tricore_mask_brn
unsigned long tricore_mask_ssr
unsigned long tricore_mask_rrrr
unsigned long tricore_mask_rrr
unsigned long tricore_mask_ssro
const struct tricore_core_register tricore_sfrs[]
unsigned long tricore_mask_srr
unsigned long tricore_mask_sb
unsigned long tricore_mask_bo
unsigned long tricore_mask_rcr
unsigned long tricore_mask_sc
unsigned long tricore_mask_slr
unsigned long tricore_mask_rc
struct tricore_opcode tricore_opcodes[]
unsigned long tricore_mask_rrpw
unsigned long tricore_mask_srrs
unsigned long tricore_mask_bol
unsigned long tricore_mask_slro
unsigned long tricore_mask_rr
unsigned long tricore_mask_rrr2
const int tricore_numsfrs
unsigned long tricore_mask_bit
unsigned long tricore_mask_brc
unsigned long tricore_mask_rr2
struct pcp_opcode pcp_opcodes[]
const int tricore_numopcodes
unsigned long tricore_mask_sro
unsigned long tricore_mask_rcpw
unsigned long tricore_mask_sbr
unsigned long tricore_mask_b
unsigned long tricore_mask_sys
unsigned long tricore_mask_rlc
void tricore_init_arch_vars PARAMS((unsigned long))
unsigned long tricore_mask_sbrn
enum _tricore_opcode_arch_val tricore_isa
enum _tricore_fmt tricore_fmt
unsigned long tricore_mask_abs
unsigned long tricore_mask_rrrw
unsigned long tricore_mask_rcrw
unsigned long tricore_mask_rrr1
unsigned long tricore_mask_rcrr
unsigned long tricore_mask_sr
unsigned long tricore_mask_src
unsigned long tricore_mask_absb
unsigned long tricore_mask_sbc
unsigned long tricore_opmask[]
unsigned long tricore_mask_rr1
unsigned long tricore_mask_brr