@@ -3748,6 +3748,9 @@ then
37483748 inline)
37493749 ENABLED_PPC32_ASM_INLINE=yes
37503750 ;;
3751+ inline-reg)
3752+ ENABLED_PPC32_ASM_INLINE_REG=yes
3753+ ;;
37513754 small)
37523755 ENABLED_PPC32_ASM_SMALL=yes
37533756 ;;
@@ -3765,7 +3768,7 @@ then
37653768 AC_MSG_NOTICE ( [ 32-bit PowerPC assembly for SHA-256] )
37663769 ENABLED_PPC32_ASM=yes
37673770fi
3768- if test "$ENABLED_PPC32_ASM_INLINE" = "yes"; then
3771+ if test "$ENABLED_PPC32_ASM_INLINE" = "yes" || test "$ENABLED_PPC32_ASM_INLINE_REG" = "yes" ; then
37693772 AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PPC32_ASM_INLINE"
37703773else
37713774 AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_PPC32_ASM"
@@ -11033,6 +11036,7 @@ AM_CONDITIONAL([BUILD_ARM_64],[test "$ENABLED_ARM_64" = "yes" || test "$ENABLED
1103311036AM_CONDITIONAL([ BUILD_RISCV_ASM] ,[ test "x$ENABLED_RISCV_ASM" = "xyes"] )
1103411037AM_CONDITIONAL([ BUILD_PPC32_ASM] ,[ test "x$ENABLED_PPC32_ASM" = "xyes"] )
1103511038AM_CONDITIONAL([ BUILD_PPC32_ASM_INLINE] ,[ test "x$ENABLED_PPC32_ASM_INLINE" = "xyes"] )
11039+ AM_CONDITIONAL([ BUILD_PPC32_ASM_INLINE_REG] ,[ test "x$ENABLED_PPC32_ASM_INLINE_REG" = "xyes"] )
1103611040AM_CONDITIONAL([ BUILD_XILINX] ,[ test "x$ENABLED_XILINX" = "xyes"] )
1103711041AM_CONDITIONAL([ BUILD_AESNI] ,[ test "x$ENABLED_AESNI" = "xyes"] )
1103811042AM_CONDITIONAL([ BUILD_INTELASM] ,[ test "x$ENABLED_INTELASM" = "xyes"] )
@@ -11704,6 +11708,10 @@ if test "$ENABLED_PPC32_ASM_INLINE" = "yes"
1170411708then
1170511709 ENABLED_PPC32_ASM="inline C"
1170611710fi
11711+ if test "$ENABLED_PPC32_ASM_INLINE_REG" = "yes"
11712+ then
11713+ ENABLED_PPC32_ASM="inline C Reg"
11714+ fi
1170711715echo " * PPC32 ASM $ENABLED_PPC32_ASM"
1170811716echo " * Write duplicate: $ENABLED_WRITEDUP"
1170911717echo " * Xilinx Hardware Acc.: $ENABLED_XILINX"
0 commit comments