Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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;
}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.