intel / isa-l

Intelligent Storage Acceleration Library
Other
943 stars 300 forks source link

Remove x18 usages on Arm64 assembly code #167

Open yuhaoth opened 3 years ago

yuhaoth commented 3 years ago

According to https://developer.apple.com/documentation/xcode/writing_arm64_code_for_apple_platforms . x18 register should not be used as normal register .

We should change the code and keep x18 as reserved register

yuhaoth commented 3 years ago

The information is come from @cielavenir . Thanks