Export (0) Print
Expand All
Expand Minimize

Compiler Error C2954

instruction word argument not in range

An invalid parameter was passed to an __lfetch intrinsic. For more inforamtion, see __lfetch, __lfetch_excl, __lfetchfault, __lfetchfault_excl.

The following sample generates C2954.

// C2954.cpp
// compile with: /c
// processor: IPF
#include <intrin.h>
#pragma intrinsic(__lfetch)
int f(int *p, int x) {
   __lfetch(5, p);   // C2954
   __lfetch(2, p);   // OK
   return *p;
}
Show:
© 2014 Microsoft