0

If the following compilation option is used

–O3 –mtune=barcelona –msse4.2 –fprefetch-loop-arrays

How to know from assembly listing that the SIMD instructions are used ?

Oliver Charlesworth
  • 267,707
  • 33
  • 569
  • 680
Basmah
  • 829
  • 3
  • 13
  • 25

1 Answers1

2

Assuming you're working on Linux (or similar), you can use objdump to examine the assembler of your object file or executable. You can then examine it for instances of SIMD instructions.

Oliver Charlesworth
  • 267,707
  • 33
  • 569
  • 680