@@ -3721,6 +3721,9 @@ then
37213721 inline)
37223722 ENABLED_PPC32_ASM_INLINE=yes
37233723 ;;
3724+ inline-reg)
3725+ ENABLED_PPC32_ASM_INLINE_REG=yes
3726+ ;;
37243727 small)
37253728 ENABLED_PPC32_ASM_SMALL=yes
37263729 ;;
@@ -3738,7 +3741,7 @@ then
37383741 AC_MSG_NOTICE ( [ 32-bit PowerPC assembly for SHA-256] )
37393742 ENABLED_PPC32_ASM=yes
37403743fi
3741- if test "$ENABLED_PPC32_ASM_INLINE" = "yes"; then
3744+ if test "$ENABLED_PPC32_ASM_INLINE" = "yes" || test "$ENABLED_PPC32_ASM_INLINE_REG" = "yes" ; then
37423745 AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PPC32_ASM_INLINE"
37433746else
37443747 AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_PPC32_ASM"
@@ -11006,6 +11009,7 @@ AM_CONDITIONAL([BUILD_ARM_64],[test "$ENABLED_ARM_64" = "yes" || test "$ENABLED
1100611009AM_CONDITIONAL([ BUILD_RISCV_ASM] ,[ test "x$ENABLED_RISCV_ASM" = "xyes"] )
1100711010AM_CONDITIONAL([ BUILD_PPC32_ASM] ,[ test "x$ENABLED_PPC32_ASM" = "xyes"] )
1100811011AM_CONDITIONAL([ BUILD_PPC32_ASM_INLINE] ,[ test "x$ENABLED_PPC32_ASM_INLINE" = "xyes"] )
11012+ AM_CONDITIONAL([ BUILD_PPC32_ASM_INLINE_REG] ,[ test "x$ENABLED_PPC32_ASM_INLINE_REG" = "xyes"] )
1100911013AM_CONDITIONAL([ BUILD_XILINX] ,[ test "x$ENABLED_XILINX" = "xyes"] )
1101011014AM_CONDITIONAL([ BUILD_AESNI] ,[ test "x$ENABLED_AESNI" = "xyes"] )
1101111015AM_CONDITIONAL([ BUILD_INTELASM] ,[ test "x$ENABLED_INTELASM" = "xyes"] )
@@ -11677,6 +11681,10 @@ if test "$ENABLED_PPC32_ASM_INLINE" = "yes"
1167711681then
1167811682 ENABLED_PPC32_ASM="inline C"
1167911683fi
11684+ if test "$ENABLED_PPC32_ASM_INLINE_REG" = "yes"
11685+ then
11686+ ENABLED_PPC32_ASM="inline C Reg"
11687+ fi
1168011688echo " * PPC32 ASM $ENABLED_PPC32_ASM"
1168111689echo " * Write duplicate: $ENABLED_WRITEDUP"
1168211690echo " * Xilinx Hardware Acc.: $ENABLED_XILINX"
0 commit comments