Skip to content

Commit

Permalink
Merge dashpay#612: Allow field_10x26_arm.s to compile for ARMv7 archi…
Browse files Browse the repository at this point in the history
…tecture

d4d270a Allow field_10x26_arm.s to compile for ARMv7 architecture (Roman Zeyde)

Pull request description:

  It would allow using optimized field operations on the TREZOR device, which is using ARMv7 Cortex-M4.
  Following trezor/trezor-core#500 and part of trezor/trezor-firmware#66.

Tree-SHA512: 73c0f03503feff01c6f4efd884e916ae1f43f55d525e8c3ea9372cf777aef6901585b74774c316dd7937abfff5e86be5b1acb569f9eeee9b73ae088f0f6b589d
  • Loading branch information
gmaxwell committed May 9, 2019
2 parents b19c000 + d4d270a commit 84a8085
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/asm/field_10x26_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,9 @@ Note:
*/

.syntax unified
.arch armv7-a
@ eabi attributes - see readelf -A
.eabi_attribute 8, 1 @ Tag_ARM_ISA_use = yes
.eabi_attribute 9, 0 @ Tag_Thumb_ISA_use = no
.eabi_attribute 10, 0 @ Tag_FP_arch = none
.eabi_attribute 24, 1 @ Tag_ABI_align_needed = 8-byte
.eabi_attribute 25, 1 @ Tag_ABI_align_preserved = 8-byte, except leaf SP
.eabi_attribute 30, 2 @ Tag_ABI_optimization_goals = Aggressive Speed
.eabi_attribute 34, 1 @ Tag_CPU_unaligned_access = v6
.text

@ Field constants
Expand Down

0 comments on commit 84a8085

Please sign in to comment.