PageRenderTime 65ms CodeModel.GetById 44ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 1ms

/arch/blackfin/lib/gcclib.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 24 lines | 15 code | 4 blank | 5 comment | 0 complexity | 6a84b36b50b3ba43b1d34fff5258dc36 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1/*
 2 * Copyright 2004-2009 Analog Devices Inc.
 3 *
 4 * Licensed under the GPL-2 or later.
 5 */
 6
 7#define BITS_PER_UNIT  8
 8#define SI_TYPE_SIZE (sizeof (SItype) * BITS_PER_UNIT)
 9
10typedef unsigned int UQItype __attribute__ ((mode(QI)));
11typedef int SItype __attribute__ ((mode(SI)));
12typedef unsigned int USItype __attribute__ ((mode(SI)));
13typedef int DItype __attribute__ ((mode(DI)));
14typedef int word_type __attribute__ ((mode(__word__)));
15typedef unsigned int UDItype __attribute__ ((mode(DI)));
16
17struct DIstruct {
18	SItype low, high;
19};
20
21typedef union {
22	struct DIstruct s;
23	DItype ll;
24} DIunion;