Skip to main content
11 events
when toggle format what by license comment
Oct 2, 2024 at 18:37 comment added Astranged T'fyer You're absolutely right. My bad @user555045
Oct 2, 2024 at 18:02 comment added user555045 @AstrangedT'fyer _mm_xor_ps should exist though
Oct 2, 2024 at 17:27 vote accept Astranged T'fyer
Oct 2, 2024 at 17:24 comment added Astranged T'fyer Oh, yikes. You're absolutely right! I was looking for an _mm_xor_ps, but it's not a thing, I think. And, in my sleep-deprived state, I went for OR instead x3
Oct 2, 2024 at 17:00 comment added user555045 @AstrangedT'fyer maybe but while negation can be implemented with XORing by -0.0, ORing by -0.0 makes the number negative which doesn't negate negative numbers
Oct 2, 2024 at 16:47 comment added Astranged T'fyer is the implementation I added to the question body in line with your recommendations? I'm just trying to make sure everything is proper before I accept the answer
Oct 2, 2024 at 11:04 comment added user555045 @AstrangedT'fyer I mean take one entry of the vector and put it in all slots eg _mm_shuffle_ps(translation, translation, _MM_SHUFFLE(2, 2, 2, 2)) copies element 2 (the z coordinate usually) to all slots
Oct 2, 2024 at 11:00 comment added Astranged T'fyer I must've just gotten it the rep for it. Thanks a lot! @toolic. Can I ask what you mean by a broadcasted entry of the translation vector? I understand what you mean with the rest. I also agree with the point that passing in the translation and scaling as vectors is way better, I was contemplating it, but didn't have enough knowledge about SIMD to constitute doing it. My main reasoning was "less space", but now I feel better about it, so thanks!
Oct 2, 2024 at 9:36 comment added Astranged T'fyer I see. I appreciate the depth you went to in answering the question. I, sadly, don't have enough rep points on this stack community to cast a vote, but do know that your answer is very much appreciated!
Oct 2, 2024 at 1:21 history edited user555045 CC BY-SA 4.0
added 249 characters in body
Oct 2, 2024 at 1:06 history answered user555045 CC BY-SA 4.0