Re: RFR: 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86 [v7]

2021-09-29 Thread Claes Redestad
On Tue, 28 Sep 2021 11:49:28 GMT, Volker Simonis wrote: >> Does the changes in 9800a99 resolve your concerns? > > In principle yes, but shouldn't the condition read: > > if (!Matcher::match_rule_supported(Op_EncodeISOArray) || > !Matcher::supports_encode_ascii_array) return false; > > I.e.

Re: RFR: 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86 [v7]

2021-09-29 Thread Claes Redestad
> This patch extends the `ISO_8859_1.implEncodeISOArray` intrinsic on x86 to > work also for ASCII encoding, which makes for example the `UTF_8$Encoder` > perform on par with (or outperform) similarly getting charset encoded bytes > from a String. The former took a small performance hit in JDK