Re: [LAD] GCC Vector extensions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Gareus <robin@...>
Cc: <linux-audio-dev@...>
Date: Wednesday, July 20, 2011 - 4:19 pm

On Wed, Jul 20, 2011 at 10:47 AM, Robin Gareus wrote:

In addition... inspecting the disassembly is helpful (-S -o
myprogram.s). Rule of thumb is that you should have `movaps` (MOVe
Aligned Packed-Storage) and `mulps` (MULtiply Packed Storage)
instructions for multiplying vectors of single-precision floats.

In addition... profiling with valgrind/callgrind is helpful (esp. if
you have it dump instructions/assembly)...

$ valgrind --tool=callgrind --dump-instr=yes ./myprogram

Open the output file with kcachegrind and it'll save you a lot of time.

-gabriel
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] GCC Vector extensions, Maurizio De Cecco, (Wed Jul 20, 8:27 am)
Re: [LAD] GCC Vector extensions, Robin Gareus, (Wed Jul 20, 3:47 pm)
Re: [LAD] GCC Vector extensions, Gabriel Beddingfield, (Wed Jul 20, 4:19 pm)
Re: [LAD] GCC Vector extensions, Maurizio De Cecco, (Mon Jul 25, 10:04 am)
Re: [LAD] GCC Vector extensions, Gabriel Beddingfield, (Mon Jul 25, 3:17 pm)
Re: [LAD] GCC Vector extensions, Robin Gareus, (Mon Jul 25, 12:46 pm)
Re: [LAD] GCC Vector extensions, Maurizio De Cecco, (Tue Jul 26, 8:15 am)
Re: [LAD] GCC Vector extensions, Gabriel Beddingfield, (Tue Jul 26, 12:30 pm)
Re: [LAD] GCC Vector extensions, Dan Kegel, (Wed Jul 20, 3:03 pm)