Backport inc_ecc_secp256k1 inline assembly code for AMD ISA

This commit is contained in:
Jens Steube
2019-12-05 15:43:01 +01:00
parent cb24236067
commit 53254b45aa
3 changed files with 90 additions and 30 deletions
+8
View File
@@ -1238,11 +1238,19 @@ typedef struct hc_device_param
hc_timer_t timer_speed;
// AMD
bool has_vadd;
bool has_vaddc;
bool has_vsub;
bool has_vsubb;
bool has_vadd3;
bool has_vbfe;
bool has_vperm;
// NV
bool has_add;
bool has_addc;
bool has_sub;
bool has_subc;
bool has_bfe;
bool has_lop3;
bool has_mov64;