Page MenuHome GnuPG

improvement for hitachi SH[34] in longlong.h
Closed, ResolvedPublic

Description

Environment

sh3,sh4 Debian GNU/Linux unstable

Description

Now we use GnuPG for testing code on hitachi sh3,4.
We discovered the method for carrying out program execution early more
on those CPUs.
Since SH3,4 and SH2 are compatibility with a higher rank,
the assembler for SH2 moves also by SH3,4.
Calculation time becomes early considerably by this improvement.
As for notes, SH4 is a capital letter.

Fix

  • longlong.h.bak Tue Apr 15 10:29:09 2003 +++ longlong.h Mon Apr 14 15:18:10 2003 @@ -1033,7 +1033,7 @@ /***********
    • SH2 **** *********/ -#if defined (sh2)&& W_TYPE_SIZE == 32 +#if (defined (sh2) || defined(sh3) || defined(SH4) )&& W_TYPE_SIZE == 32 #define umul_ppmm(w1, w0, u, v) \ asm ( \ "dmulu.l %2,%3

Release Note

Done in stable and devel. Will aslo be done for libgcrypt.