diff options
author | DJ Delorie <dj@redhat.com> | 2008-10-27 18:25:21 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2008-10-27 18:25:21 +0000 |
commit | aed1add31bf14e0cf760f01ac02437988b5762c3 (patch) | |
tree | aed74a60e958fae99dbc27b9032af421751ce3ff /libdecnumber/decNumberLocal.h | |
parent | e8ecdb5c3b219e270f6f3589129d49598e118fc5 (diff) | |
download | gdb-aed1add31bf14e0cf760f01ac02437988b5762c3.zip gdb-aed1add31bf14e0cf760f01ac02437988b5762c3.tar.gz gdb-aed1add31bf14e0cf760f01ac02437988b5762c3.tar.bz2 |
merge from gcc
Diffstat (limited to 'libdecnumber/decNumberLocal.h')
-rw-r--r-- | libdecnumber/decNumberLocal.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libdecnumber/decNumberLocal.h b/libdecnumber/decNumberLocal.h index 809eaa4..f1568f7 100644 --- a/libdecnumber/decNumberLocal.h +++ b/libdecnumber/decNumberLocal.h @@ -308,13 +308,13 @@ #define DECWORDS (DECBYTES/4) #define DECWWORDS (DECWBYTES/4) #if DECLITEND - #define DFWORD(df, off) UINTAT((df)->bytes+(DECWORDS-1-(off))*4) - #define DFBYTE(df, off) UBYTEAT((df)->bytes+(DECBYTES-1-(off))) - #define DFWWORD(dfw, off) UINTAT((dfw)->bytes+(DECWWORDS-1-(off))*4) + #define DFWORD(df, off) ((df)->words[DECWORDS-1-(off)]) + #define DFBYTE(df, off) ((df)->bytes[DECBYTES-1-(off)]) + #define DFWWORD(dfw, off) ((dfw)->words[DECWWORDS-1-(off)]) #else - #define DFWORD(df, off) UINTAT((df)->bytes+(off)*4) - #define DFBYTE(df, off) UBYTEAT((df)->bytes+(off)) - #define DFWWORD(dfw, off) UINTAT((dfw)->bytes+(off)*4) + #define DFWORD(df, off) ((df)->words[off]) + #define DFBYTE(df, off) ((df)->bytes[off]) + #define DFWWORD(dfw, off) ((dfw)->words[off]) #endif /* Tests for sign or specials, directly on DECFLOATs */ |