summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-27 08:34:45 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-27 08:34:45 +0000
commitcf378360a7404318c1669d5618e2465ec1d0e73b (patch)
tree02d25e0bc1c4d0f63ccc0fa33aaf34217c6cd2e7 /gcc/longlong.h
parent9f3113e8a7b81eb35512df22ad15046b6d0ede75 (diff)
downloadgcc-cf378360a7404318c1669d5618e2465ec1d0e73b.tar.gz
* config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
UNITS_PER_WORD and BITS_PER_WORD are compile time constants when compiling libgcc2. * config/mips/mips.h (TARGET_64BIT): Likewise. * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise. * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead of {SI,DI}type and DIunion. Define these types to QI/HI modes on dsps. Give routines proper names if SI/DI modes are not used. * longlong.h: Use DWunion instead of DIunion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 2cea66dd690..539174ad910 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -195,7 +195,7 @@ extern UDItype __udiv_qrnnd __P ((UDItype *, UDItype, UDItype, UDItype));
/* Call libgcc1 routine. */
#define umul_ppmm(w1, w0, u, v) \
do { \
- DIunion __w; \
+ DWunion __w; \
__w.ll = __umulsidi3 (u, v); \
w1 = __w.s.high; \
w0 = __w.s.low; \
@@ -1383,7 +1383,7 @@ UDItype __umulsidi3 (USItype, USItype);
#if !defined (__umulsidi3)
#define __umulsidi3(u, v) \
- ({DIunion __w; \
+ ({DWunion __w; \
umul_ppmm (__w.s.high, __w.s.low, u, v); \
__w.ll; })
#endif