View | Details | Raw Unified | Return to bug 270811 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/contrib/openzfs/lib/libspl/include/sys/simd.h (-1 / +1 lines)
Lines 551-557 zfs_sha512_available(void) Link Here
551
551
552
#elif defined(__powerpc__)
552
#elif defined(__powerpc__)
553
553
554
#define	kfpu_allowed()		1
554
#define	kfpu_allowed()		0
555
#define	kfpu_initialize(tsk)	do {} while (0)
555
#define	kfpu_initialize(tsk)	do {} while (0)
556
#define	kfpu_begin()		do {} while (0)
556
#define	kfpu_begin()		do {} while (0)
557
#define	kfpu_end()		do {} while (0)
557
#define	kfpu_end()		do {} while (0)
(-)b/sys/contrib/openzfs/module/icp/asm-ppc64/sha2/sha256-p8.S (-2 / +2 lines)
Lines 19-25 Link Here
19
 * - modified assembly to fit into OpenZFS
19
 * - modified assembly to fit into OpenZFS
20
 */
20
 */
21
21
22
#if (defined(__PPC64__) && defined(__BIG_ENDIAN__))
22
#if (defined(__PPC64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1))
23
23
24
.text
24
.text
25
25
Lines 759-765 zfs_sha256_power8: Link Here
759
.long	0x00010203,0x04050607,0x10111213,0x10111213
759
.long	0x00010203,0x04050607,0x10111213,0x10111213
760
.long	0x00010203,0x04050607,0x08090a0b,0x10111213
760
.long	0x00010203,0x04050607,0x08090a0b,0x10111213
761
761
762
#elif (defined(__PPC64__) && defined(__LITTLE_ENDIAN__))
762
#elif (defined(__PPC64__))
763
763
764
.abiversion	2
764
.abiversion	2
765
.text
765
.text
(-)b/sys/contrib/openzfs/module/icp/asm-ppc64/sha2/sha256-ppc.S (-2 / +2 lines)
Lines 19-25 Link Here
19
 * - modified assembly to fit into OpenZFS
19
 * - modified assembly to fit into OpenZFS
20
 */
20
 */
21
21
22
#if (defined(__PPC64__) && defined(__BIG_ENDIAN__))
22
#if (defined(__PPC64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1))
23
23
24
.text
24
.text
25
25
Lines 1342-1348 zfs_sha256_ppc: Link Here
1342
.long	0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208
1342
.long	0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208
1343
.long	0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2
1343
.long	0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2
1344
1344
1345
#elif (defined(__PPC64__) && defined(__LITTLE_ENDIAN__))
1345
#elif (defined(__PPC64__))
1346
1346
1347
.abiversion	2
1347
.abiversion	2
1348
.text
1348
.text
(-)b/sys/contrib/openzfs/module/icp/asm-ppc64/sha2/sha512-p8.S (-2 / +2 lines)
Lines 19-25 Link Here
19
 * - modified assembly to fit into OpenZFS
19
 * - modified assembly to fit into OpenZFS
20
 */
20
 */
21
21
22
#if (defined(__PPC64__) && defined(__BIG_ENDIAN__))
22
#if (defined(__PPC64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1))
23
23
24
.text
24
.text
25
25
Lines 857-863 zfs_sha512_power8: Link Here
857
.long	0x00010203,0x04050607
857
.long	0x00010203,0x04050607
858
.long	0x10111213,0x14151617
858
.long	0x10111213,0x14151617
859
859
860
#elif (defined(__PPC64__) && defined(__LITTLE_ENDIAN__))
860
#elif (defined(__PPC64__))
861
861
862
.abiversion	2
862
.abiversion	2
863
.text
863
.text
(-)b/sys/contrib/openzfs/module/icp/asm-ppc64/sha2/sha512-ppc.S (-2 / +2 lines)
Lines 19-25 Link Here
19
 * - modified assembly to fit into OpenZFS
19
 * - modified assembly to fit into OpenZFS
20
 */
20
 */
21
21
22
#if (defined(__PPC64__) && defined(__BIG_ENDIAN__))
22
#if (defined(__PPC64__) && (!defined(_CALL_ELF) || _CALL_ELF == 1))
23
23
24
.text
24
.text
25
25
Lines 1444-1450 zfs_sha512_ppc: Link Here
1444
.long	0x5fcb6fab,0x3ad6faec
1444
.long	0x5fcb6fab,0x3ad6faec
1445
.long	0x6c44198c,0x4a475817
1445
.long	0x6c44198c,0x4a475817
1446
1446
1447
#elif (defined(__PPC64__) && defined(__LITTLE_ENDIAN__))
1447
#elif (defined(__PPC64__))
1448
1448
1449
.abiversion	2
1449
.abiversion	2
1450
.text
1450
.text

Return to bug 270811