Skip to content

Commit

Permalink
Enable Altivec by default whenever possible
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 30, 2024
1 parent d37fbf0 commit fb39c52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aegis128x4/aegis128x4.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ static const aegis128x4_implementation *implementation = &aegis128x4_soft_implem
static const aegis128x4_implementation *implementation = &aegis128x4_armcrypto_implementation;
# elif defined(__x86_64__) || defined(__i386__)
static const aegis128x4_implementation *implementation = &aegis128x4_aesni_implementation;
# elif defined(__ALTIVEC__) && defined(__CRYPTO__)
static const aegis128x4_implementation *implementation = &aegis128x4_altivec_implementation;
# else
# error "Unsupported architecture"
# endif
Expand Down

0 comments on commit fb39c52

Please sign in to comment.