diff options
Diffstat (limited to 'lib/util/wordaccess_64_le.h')
-rw-r--r-- | lib/util/wordaccess_64_le.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/util/wordaccess_64_le.h b/lib/util/wordaccess_64_le.h deleted file mode 100644 index 4d148ad2..00000000 --- a/lib/util/wordaccess_64_le.h +++ /dev/null @@ -1,28 +0,0 @@ -/*============================================================================= - This file is the part of wordaccess.h for use under these - conditions: - - * GCC (>=3.4) (__builtin_clz appears in GCC 3.4) - * Little-Endian machines (IA64, X86-64, AMD64) - * 64 bit long - -=============================================================================*/ - -#include "intcode.h" - -typedef uint64_t wordint; -typedef unsigned char wordintBytes[sizeof(wordint)]; - - -static __inline__ wordint -bytesToWordint(wordintBytes const bytes) { - return (wordint) pm_uintFromBigend64(*(bigend64*)bytes); -} - - - -static __inline__ void -wordintToBytes(wordintBytes * const bytesP, - wordint const wordInt) { - *(bigend64*)bytesP = pm_bigendFromUint64(wordInt); -} |