I'm not sure it's a good idea to unconditionally use these gcc specific flags. Are they supported by all relevant compilers?
It seems that Clang doesn't support that flag.
I'm considering instead adding the attached patch.
This is a better solution. I'll consider this patch for upcoming editing.
diff --git a/powerpc64/machine.m4 b/powerpc64/machine.m4 index 221fa523..cefabc9b 100644 --- a/powerpc64/machine.m4 +++ b/powerpc64/machine.m4 @@ -24,7 +24,7 @@ define(`EPILOGUE',
C Get vector-scalar register from vector register C VSR(VR) -define(`VSR',`32+$1') +define(`VSR',``vs'eval(32+substr($1,1,len($1)))')
May be less brittle with an explicit ifelse chain, like the similar macros in arm/machine.m4. Should work better with the above approach, where r1 may expand to 1, depending on a configure check.
I got it, I'll consider this too.
Thank you, Mamone