Other trivially similar things also have several instructions that do basically the same. ![]() It's really hard to write a correct test that explores all corner cases for such things, especially when the instruction scheduling is most probably involved here. I wrote several tests to check that, but I suppose their results are not credible. using movhps to load data to an integer vector? Is there any reasons to expect a performance hit when using floating point instructions on integer vectors, e.g. For example, both float and double vectors have instructions to load higher 64bits of a 128-bit vector from an address ( movhps, movhpd), but there's no such instruction for integer vectors. ![]() What I found frustrating is that the SSE ISA has several simple instructions that are available only for floats or only for integers, but in theory should perform equally for both. ![]() I've used x86 SIMD instructions (SSE1234) in the form of intrinsics quite a lot lately.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |