summaryrefslogtreecommitdiff
path: root/lib_nios2/math.h
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2010-04-13 03:28:04 (GMT)
committerWolfgang Denk <wd@denx.de>2010-04-13 07:13:03 (GMT)
commitea0364f1bbfed1e3ea711147420875cf338fe77a (patch)
tree15c051bc4d2e94c1661c73e1b87c22c7beda7c24 /lib_nios2/math.h
parent89f39e177e7b0152aa1d3152baa25d986e36cdcf (diff)
downloadu-boot-fsl-qoriq-ea0364f1bbfed1e3ea711147420875cf338fe77a.tar.xz
Move lib_$ARCH directories to arch/$ARCH/lib
Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'lib_nios2/math.h')
-rw-r--r--lib_nios2/math.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib_nios2/math.h b/lib_nios2/math.h
deleted file mode 100644
index f0aed8e..0000000
--- a/lib_nios2/math.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#define BITS_PER_UNIT 8
-
-typedef int HItype __attribute__ ((mode (HI)));
-typedef unsigned int UHItype __attribute__ ((mode (HI)));
-
-typedef int SItype __attribute__ ((mode (SI)));
-typedef unsigned int USItype __attribute__ ((mode (SI)));
-
-typedef int word_type __attribute__ ((mode (__word__)));
-
-struct SIstruct {HItype low, high;};
-
-typedef union {
- struct SIstruct s;
- SItype ll;
-} SIunion;