Browse Source

Merge pull request #4916 from martin-frbg/issue4901

Fix SIGILL/SIGSEGV in PPCG4 SGEMM and fix NAN handling in PPCG4 SSCAL/DSCAL
tags/v0.3.29
Martin Kroeker GitHub 1 year ago
parent
commit
624e9d110e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions
  1. +5
    -5
      kernel/power/KERNEL.PPCG4
  2. +1
    -1
      param.h

+ 5
- 5
kernel/power/KERNEL.PPCG4 View File

@@ -70,13 +70,13 @@ DSCALKERNEL = scal_ppc440.S
CSCALKERNEL = zscal_ppc440.S
ZSCALKERNEL = zscal_ppc440.S

SGEMMKERNEL = gemm_kernel_altivec_g4.S
SGEMMINCOPY = ../generic/gemm_ncopy_16.c
SGEMMITCOPY = ../generic/gemm_tcopy_16.c
SGEMMKERNEL = gemm_kernel_g4.S
SGEMMINCOPY =
SGEMMITCOPY =
SGEMMONCOPY = gemm_ncopy_4.S
SGEMMOTCOPY = gemm_tcopy_4.S
SGEMMINCOPYOBJ = sgemm_incopy$(TSUFFIX).$(SUFFIX)
SGEMMITCOPYOBJ = sgemm_itcopy$(TSUFFIX).$(SUFFIX)
SGEMMINCOPYOBJ =
SGEMMITCOPYOBJ =
SGEMMONCOPYOBJ = sgemm_oncopy$(TSUFFIX).$(SUFFIX)
SGEMMOTCOPYOBJ = sgemm_otcopy$(TSUFFIX).$(SUFFIX)
DGEMMKERNEL = gemm_kernel_g4.S


+ 1
- 1
param.h View File

@@ -2243,7 +2243,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define GEMM_DEFAULT_OFFSET_B 1024
#define GEMM_DEFAULT_ALIGN 0x0ffffUL

#define SGEMM_DEFAULT_UNROLL_M 16
#define SGEMM_DEFAULT_UNROLL_M 4
#define SGEMM_DEFAULT_UNROLL_N 4
#define DGEMM_DEFAULT_UNROLL_M 4
#define DGEMM_DEFAULT_UNROLL_N 4


Loading…
Cancel
Save