Skip to content

avx2 panics in debug mode due to overflowing subtraction #111

@rickwebiii

Description

@rickwebiii

From Enclave

./clang -target parasol -O2 -c src/add.c -o add.o
./ld.lld add.o -o compiled/add
cargo run

And i am getting :
thread '' panicked at /root/.cargo/git/checkouts/spf-0e413efd62a581cc/e7d5c7a/sunscreen_tfhe/src/math/simd/x86_64/> avx2.rs:51:14:
attempt to subtract with overflow
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Rayon: detected unexpected panic; aborting
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions