1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

core:vsx fix inline asm constraints

generalize constraints to 'wa' for VSX registers
This commit is contained in:
Sayed Adel
2020-01-28 15:16:48 +02:00
parent 223790e6fc
commit bd531bd828
3 changed files with 25 additions and 31 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ int main()
{
__vector float vf;
__vector signed int vi;
__asm__ __volatile__ ("xvcvsxwsp %x0,%x1" : "=wf" (vf) : "wa" (vi));
__asm__ __volatile__ ("xvcvsxwsp %x0,%x1" : "=wa" (vf) : "wa" (vi));
return 0;
}