Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 717750 Details for
Bug 797610
games-fps/quakeforge-0.7.2_p20210601 Build Failure Due to AVX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to Change __AVX__ Guards to __AVX2__
quakeforge-0.7.2_p20210601-avx.patch (text/plain), 1.40 KB, created by
David Turner
on 2021-06-23 00:05:28 UTC
(
hide
)
Description:
Patch to Change __AVX__ Guards to __AVX2__
Filename:
MIME Type:
Creator:
David Turner
Created:
2021-06-23 00:05:28 UTC
Size:
1.40 KB
patch
obsolete
>--- a/include/QF/simd/types.h >+++ b/include/QF/simd/types.h >@@ -39,7 +39,7 @@ > */ > typedef double vec3d_t[3]; > >-#ifdef __AVX__ >+#ifdef __AVX2__ > /** Four element vector type for horizontal (AOS) vector data. > * > * This is used for both vectors (3D and 4D) and quaternions. 3D vectors >--- a/include/QF/simd/vec4d.h >+++ b/include/QF/simd/vec4d.h >@@ -28,7 +28,7 @@ > #ifndef __QF_simd_vec4d_h > #define __QF_simd_vec4d_h > >-#ifdef __AVX__ >+#ifdef __AVX2__ > #include <immintrin.h> > > #include "QF/simd/types.h" >--- a/libs/util/test/test-simd.c >+++ b/libs/util/test/test-simd.c >@@ -48,7 +48,7 @@ > > #define s05 0.70710678118654757 > >-#ifdef __AVX__ >+#ifdef __AVX2__ > typedef struct { > int line; > vec4d_t (*op) (vec4d_t a, vec4d_t b); >@@ -94,7 +94,7 @@ > mat4f_t ulp_errors; > } mq4f_test_t; > >-#ifdef __AVX__ >+#ifdef __AVX2__ > static vec4d_t tvtruncd (vec4d_t v, vec4d_t ignore) > { > return vtruncd (v); >@@ -158,7 +158,7 @@ > > #define T(t...) { __LINE__, t } > >-#ifdef __AVX__ >+#ifdef __AVX2__ > static vec4d_test_t vec4d_tests[] = { > // 3D dot products > T(dotd, right, right, one ), >@@ -487,7 +487,7 @@ > }; > #define num_mq4f_tests (sizeof (mq4f_tests) / (sizeof (mq4f_tests[0]))) > >-#ifdef __AVX__ >+#ifdef __AVX2__ > static int > run_vec4d_tests (void) > { >@@ -684,7 +684,7 @@ > main (void) > { > int ret = 0; >-#ifdef __AVX__ >+#ifdef __AVX2__ > ret |= run_vec4d_tests (); > #endif > ret |= run_vec4f_tests ();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 797610
:
717681
|
717684
| 717750 |
717753