Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Compiler Warning (level 1) C4556

Error Message

value of intrinsic immediate argument 'value' is out of range 'lowerbound - upperbound'

An intrinsic matches a hardware instruction. The hardware instruction has a fixed number of bits to encode the constant. If value is out of range, it will not encode properly. The compiler truncates the extra bits.

The following sample generates C4556:

// C4556.cpp
// compile with: /W1
// processor: x86 IPF
#include <xmmintrin.h>
void test()
{
   __m64 m;
   _m_pextrw(m, 5);   // C4556
}
int main()
{
}

Community Additions

ADD
Show:
© 2015 Microsoft