* basic-modes.h (MAKEDI): New macro.
This commit is contained in:
parent
7fce58cbda
commit
8c7d5f45ee
|
@ -1,3 +1,7 @@
|
||||||
|
2010-01-05 Doug Evans <dje@sebabeach.org>
|
||||||
|
|
||||||
|
* basic-modes.h (MAKEDI): New macro.
|
||||||
|
|
||||||
2009-10-23 Doug Evans <dje@sebabeach.org>
|
2009-10-23 Doug Evans <dje@sebabeach.org>
|
||||||
|
|
||||||
* basic-modes.h: New file. Moved here from opcodes/cgen-types.h.
|
* basic-modes.h: New file. Moved here from opcodes/cgen-types.h.
|
||||||
|
|
|
@ -46,4 +46,7 @@ typedef uint64_t UDI;
|
||||||
typedef int INT;
|
typedef int INT;
|
||||||
typedef unsigned int UINT;
|
typedef unsigned int UINT;
|
||||||
|
|
||||||
|
/* Cover macro to create a 64-bit integer. */
|
||||||
|
#define MAKEDI(hi, lo) ((((DI) (SI) (hi)) << 32) | ((UDI) (USI) (lo)))
|
||||||
|
|
||||||
#endif /* CGEN_BASIC_MODES_H */
|
#endif /* CGEN_BASIC_MODES_H */
|
||||||
|
|
Loading…
Reference in New Issue