Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37864976
en ru br
ALT Linux repositórios
S:1.6.0-alt2.g2eede2

Group :: Desenvolvimento/C++
RPM: sse2neon

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define git 2eede2
%define optflags_lto %nil

%global _description \
sse2neon is a translator of Intel SSE (Streaming SIMD Extensions) intrinsics to \
Arm NEON, shortening the time needed to get an Arm working program that then \
can be used to extract profiles and to identify hot paths in the code. The \
header file sse2neon.h contains several of the functions provided by Intel \
intrinsic headers such as <xmmintrin.h>, only implemented with NEON-based \
counterparts to produce the exact semantics of the intrinsics.

Name:    sse2neon
Version: 1.6.0
Release: alt2.g%{git}
Summary: A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation
Group:   Development/C++
License: MIT
URL:     https://github.com/DLTcollab/sse2neon

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires: clang libstdc++-devel

ExclusiveArch: %arm aarch64
%description %_description

%package devel
Summary:   translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation
Group:   Development/C++
%description devel %_description

%prep
%setup
%patch -p1

%build
export CXXFLAGS='%optflags'
# clang supports more instructions than gcc
export CXX=clang++
export CC=clang
%make_build

%install
mkdir -p %buildroot%_includedir
install -pm644 %name.h %buildroot%_includedir/

%check
# checks are hw depended? Ignore then for now
# failed tests:
# [00:00:27] Test mm_set_rounding_mode           failed
# [00:00:27] Test mm_setcsr                      failed
# [00:00:27] Test mm_storeu_si64                 failed
# [00:00:27] Test mm_cvtpd_epi32                 failed
# [00:00:27] Test mm_cvtpd_pi32                  failed
# [00:00:27] Test mm_cvttpd_epi32                failed
# [00:00:27] Test mm_cvttpd_pi32                 failed
# [00:00:28] Test mm_set_denormals_zero_mode     failed
make check ||:

%files devel
%doc LICENSE
%doc *.md
%_includedir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009