Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Intrinsics based approach usind AD_X is currently blocked on LLVM. #616

Open
recmo opened this issue Mar 19, 2020 · 0 comments
Open

Intrinsics based approach usind AD_X is currently blocked on LLVM. #616

recmo opened this issue Mar 19, 2020 · 0 comments
Assignees
Labels
refactor Improves the code quality tracker Issues generated from source comments

Comments

@recmo
Copy link
Contributor

recmo commented Mar 19, 2020

On 2020-03-18 @recmo wrote in 8b465c5 “Intrinsics are not going to work any time soon”:

Intrinsics based approach usind AD_X is currently blocked on LLVM.
See rust-lang/stdarch#666
See https://bugs.llvm.org/show_bug.cgi?id=41546

#![allow(unsafe_code)]
use crate::{MontgomeryParameters, U256};
use std::mem::MaybeUninit;

// TODO: Intrinsics based approach usind AD_X is currently blocked on LLVM.
// See <https://github.com/rust-lang/stdarch/issues/666>
// See <https://bugs.llvm.org/show_bug.cgi?id=41546>

// For instruction timings and through puts
// See <https://gmplib.org/~tege/x86-timing.pdf>

// For examples using mulx/adcx

From algebra/u256/src/algorithms/assembly.rs:5

@recmo recmo added refactor Improves the code quality tracker Issues generated from source comments labels Mar 19, 2020
@recmo recmo self-assigned this Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Improves the code quality tracker Issues generated from source comments
Projects
None yet
Development

No branches or pull requests

1 participant