]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - include/cgen/basic-modes.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / include / cgen / basic-modes.h
index 7583ee4586bfcd7f5e7f399d8568c207f93db692..3a476d4a1df7708836c105a226f14cb5291953e5 100644 (file)
@@ -1,5 +1,5 @@
 /* Basic CGEN modes.
-   Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2021 Free Software Foundation, Inc.
    Contributed by Red Hat.
 
    This file is part of the GNU opcodes library.
@@ -46,4 +46,7 @@ typedef uint64_t UDI;
 typedef int INT;
 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 */