Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
armv7l - no CPU_FLAGS_ARM used?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 293

PostPosted: Thu Jul 02, 2020 9:25 am    Post subject: armv7l - no CPU_FLAGS_ARM used? Reply with quote

Hi, just wondering - I wanna emerge ffmpeg and there is :
Code:
[ebuild  N     ] media-video/ffmpeg-4.2.3:0/56.58.58::gentoo  USE="bzip2 encode fdk gpl iconv libsoxr lzma network postproc threads vpx x264 x265 zlib -X -alsa -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -dav1d -debug -doc -flite -fontconfig (-frei0r) -fribidi -gcrypt -gme -gmp -gnutls -gsm -hardcoded-tables -iec61883 (-ieee1394) -jack -jpeg2k -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libressl -librtmp -libtesseract -libv4l -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -mmal -modplug -mp3 -openal (-opencl) -opengl -openh264 -openssl -opus -oss -pic -pulseaudio -rubberband -samba -sdl -snappy -speex -srt -ssh -static-libs -svg -test -theora -truetype -twolame -v4l (-vaapi) (-vdpau) -vidstab -vorbis -wavpack -webp -xvid -zeromq -zimg -zvbi" CPU_FLAGS_ARM="(-neon) (-thumb) (-thumb2) (-v6) (-v8) (-vfp) (-vfpv3)" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="(-nvidia)"


in make.conf:
Code:
CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7 thumb2"

Code:
cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 22.85
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5
...

Code:
lrwxrwxrwx 1 root root   49 26. čen 09.59 make.profile -> ../../usr/portage/profiles/default/linux/arm/17.0

Does it mean no SIMD would be used at all?
Thanks in advance ;-)
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 293

PostPosted: Thu Jul 02, 2020 9:54 am    Post subject: Reply with quote

Seem I need to change to armv7a (dev) profile
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24525
Location: here

PostPosted: Thu Jul 02, 2020 9:58 am    Post subject: Reply with quote

Use flag in parentheses mean they're masked by profile (arm).

EDIT: as DeIM say these flag are unmasked in armv7a profile
Code:
$ grep thumb2 * -r
armv7a/use.force:cpu_flags_arm_thumb2
armv7a/use.mask:-cpu_flags_arm_thumb2

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46108
Location: 56N 3W

PostPosted: Thu Jul 02, 2020 4:13 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on ARM.

Its an ARM question
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum