islet-project / islet

An on-device confidential computing platform
Apache License 2.0
91 stars 16 forks source link

Fix to use aarch64-cpu #331

Closed bitboom closed 3 months ago

bitboom commented 3 months ago

This PR updates to use aarch64-cpu as disscused in https://github.com/islet-project/islet/discussions/326.

p.s. This PR does not completely replace armv9a. It has been applied to parts where unsafe could be removed.

Before this PR

Unsafe Keywords:
 - Total           | 184
 - Functions       | 29
 - Blocks          | 152
 - Impls           | 3

After this PR

Unsafe Keywords:
 - Total           | 86
 - Functions       | 29
 - Blocks          | 54
 - Impls           | 3