8259629: aarch64 builds fail after JDK-8258932

Reviewed-by: kvn
This commit is contained in:
Dong Bo 2021-01-13 00:30:58 +00:00 committed by Vladimir Kozlov
parent 4be2173478
commit c6d798c25a
2 changed files with 8 additions and 5 deletions

View File

@ -1040,7 +1040,10 @@ class NEONReduceInstruction(Instruction):
def cstr(self):
buf = Instruction.cstr(self) + str(self.dstSIMDreg)
buf = '%s, __ T%s, %s);' % (buf, self.arrangement, self.srcSIMDreg)
if self._name == "fmaxp" or self._name == "fminp":
buf = '%s, %s, __ %s);' % (buf, self.srcSIMDreg, self.arrangement[1:])
else:
buf = '%s, __ T%s, %s);' % (buf, self.arrangement, self.srcSIMDreg)
return buf
def astr(self):

View File

@ -540,10 +540,10 @@
__ sminv(v19, __ T8H, v20); // sminv h19, v20.8H
__ sminv(v15, __ T4S, v16); // sminv s15, v16.4S
__ fminv(v0, __ T4S, v1); // fminv s0, v1.4S
__ fmaxp(v4, __ T2S, v5); // fmaxp s4, v5.2S
__ fmaxp(v20, __ T2D, v21); // fmaxp d20, v21.2D
__ fminp(v11, __ T2S, v12); // fminp s11, v12.2S
__ fminp(v29, __ T2D, v30); // fminp d29, v30.2D
__ fmaxp(v4, v5, __ S); // fmaxp s4, v5.2S
__ fmaxp(v20, v21, __ D); // fmaxp d20, v21.2D
__ fminp(v11, v12, __ S); // fminp s11, v12.2S
__ fminp(v29, v30, __ D); // fminp d29, v30.2D
// TwoRegNEONOp
__ absr(v15, __ T8B, v16); // abs v15.8B, v16.8B