Skip to content

Commit 0f9f6e4

Browse files
authored
Merge pull request #5710 from martin-frbg/issue5708
Work around miscompilation of the ARM64 non-SVE DDOT kernel
2 parents 3ebfc0e + e3ce462 commit 0f9f6e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kernel/arm64/dot_kernel_asimd.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
262262

263263
static RETURN_TYPE dot_kernel_asimd(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
264264
{
265-
volatile RETURN_TYPE dot = 0.0;
265+
#ifndef DOUBLE
266+
volatile
267+
#endif
268+
RETURN_TYPE dot = 0.0;
266269
BLASLONG j = 0;
267270

268271
__asm__ __volatile__ (

0 commit comments

Comments
 (0)