Bug #110445 Optimize my_convert for Arm64
Submitted: 21 Mar 2023 3:11 Modified: 21 Mar 2023 6:30
Reporter: Cai Yibo (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S5 (Performance)
Version:8.0 OS:Linux
Assigned to: CPU Architecture:ARM (aarch64)
Tags: Contrbution

[21 Mar 2023 3:11] Cai Yibo
Description:
my_convert() copies ascii string in 4 bytes on x86, but not Arm. [1]
We can enable the optimized code path for Arm64.

[1] https://github.com/mysql/mysql-server/blob/8.0/strings/ctype.cc#L922-L934

How to repeat:
N/A
[21 Mar 2023 3:11] Cai Yibo
patch

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: 0001-Optimize-my_convert-for-Arm64.patch (text/x-patch), 1.41 KiB.

[21 Mar 2023 6:30] MySQL Verification Team
Hello Cai Yibo,

Thank you for the report and contribution.

regards,
Umesh