Re: how to detect that the vector extension is available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vincent Torri <vtorri@xxxxxxxxxxxx> writes:

>> I guess it depends on exactly what you want to check.  With current gcc
>> vector_size will work even if the target does not actually support
>> vectors in hardware.  So if you want to check whether you can use
>> vectors in your code this test will suffice.  If you want to check
>> whether you will actually get any hardware speedup, you will need a
>> different check.
>
> That would indeed interest us to know if the vectors are hardware
> accelerated. Do you have an idea of such check ?

Unfortunately I do not know how you can check for that.  There may be a
way but I don't know of one.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux