- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I've been seaching over the web and also intel foruns and I cannot find a version of fabs() function in SIMD....
I have a __m128 x variable and I want to get the absolute value of the 4 float values in x.
Sorry if this is a re-post, but I cannot really find anything concerning this topic.
thank you in advance,
threethazz.
I have a __m128 x variable and I want to get the absolute value of the 4 float values in x.
Sorry if this is a re-post, but I cannot really find anything concerning this topic.
thank you in advance,
threethazz.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sign bit in single prec FP is in bit 31, all you need to do is clearthis bitusing andps with a predefined mask of 4 x 0x7fffffff values

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page