-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid parameter combination for AltiVec intrinsic #2
Comments
BTW, I compiled on Ubuntu 16.10 with gcc 6.2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to build the ixgbe device driver in DPDK, but I got the following error message:
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h: In function 'vec_load1q':
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h:30:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
return (__m128i) vec_ld (0, (vector unsigned char*) address);
^
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h: In function 'vec_loadu1q':
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h:37:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
src1 = vec_ld(0, (vector unsigned char*) address);
^
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h:38:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
src2 = vec_ld(16, (vector unsigned char*) address);
^
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h:43:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
return vec_xl (0, (unsigned char *) address);
^
/home/ioa/david/dpdk-16.11.port/drivers/net/ixgbe/vec128int.h:43:5: error: invalid parameter combination for AltiVec intrinsic
return vec_xl (0, (unsigned char *) address);
Could you help?
The text was updated successfully, but these errors were encountered: