Overview
This chapter describes how to implement and optimize the Arm64 assembly instructions based on some functions of the string series in the GNU C Library (glibc). Based on the features of the functions, four basic assembly instruction function types are summarized as follows:
- Branch judgment
- Loops
- Memory operations
- Bit operations
The first two types are applicable to assembly instruction conversion corresponding to a basic program control structure in high-level language (HLL) such as C, and the last two types are more close to common processing objects and operations of the assembly instruction, that is, registers and register bit values.