mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Utilize the ARCHLEVEL framework from libc/amd64/string to provide the way for runtime selection of the implementation, if wanted. Reviewed by: fuz, kfv Discussed with: kargl Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D59462
25 lines
441 B
ArmAsm
25 lines
441 B
ArmAsm
/*-
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Copyright 2026 The FreeBSD Foundation
|
|
*
|
|
* This software were developed by
|
|
* Konstantin Belousov <kib@FreeBSD.org> under sponsorship from
|
|
* the FreeBSD Foundation.
|
|
*/
|
|
|
|
#include "amd64_archlevel.h"
|
|
|
|
.text
|
|
ARCHENTRY(fmaf, avx):
|
|
vfmadd132ss %xmm1, %xmm2, %xmm0
|
|
ret
|
|
ARCHEND(fmaf, avx):
|
|
|
|
ARCHFUNCS(fmaf)
|
|
ARCHFUNC(fmaf, sw)
|
|
NOARCHFUNC
|
|
NOARCHFUNC
|
|
ARCHFUNC(fmaf, avx)
|
|
ENDARCHFUNCS(fmaf)
|