Skip to content

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Apr 21, 2025

No description provided.

@lgritz lgritz added the windows Problems specific to MS Windows OS label Apr 21, 2025
Copy link
Contributor

@jessey-git jessey-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that most* of the build warnings are gone for me locally. So this looks good from that angle.

*There's another set of warnings that have been popping up for me:

9>C:\Users\jesse\source\OpenImageIO\src\include\OpenImageIO\simd.h(6906,66): warning C4556: value of intrinsic immediate argument '8' is out of range '0 - 7'
9>(compiling source file '../../../src/iv/ivmain.cpp')
9>C:\Users\jesse\source\OpenImageIO\src\include\OpenImageIO\simd.h(8797,69): warning C4556: value of intrinsic immediate argument '8' is out of range '0 - 7'
9>(compiling source file '../../../src/iv/ivmain.cpp')

This is because we're feeding _MM_FROUND_NO_EXC into _mm_cvtps_ph and _mm256_cvtps_ph which isn't a valid value for that parameter:
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtps_ph&ig_expand=2110,2107
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_cvtps_ph&ig_expand=2110

@lgritz
Copy link
Collaborator Author

lgritz commented Apr 26, 2025

@jessey-git Thanks for the tip about simd.h. I will have a separate PR to address that.

Copy link
Contributor

@jessey-git jessey-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All fine from my side.

@lgritz lgritz merged commit 0e03e5c into AcademySoftwareFoundation:main Apr 26, 2025
66 checks passed
@lgritz lgritz deleted the lg-winwarn branch April 26, 2025 20:54
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Apr 26, 2025
scott-wilson pushed a commit to scott-wilson/OpenImageIO that referenced this pull request May 17, 2025
scott-wilson pushed a commit to scott-wilson/OpenImageIO that referenced this pull request May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

windows Problems specific to MS Windows OS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants