-
Notifications
You must be signed in to change notification settings - Fork 288
Avx #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avx #105
Conversation
/// specified by `imm8`. | ||
#[inline(always)] | ||
#[target_feature = "+avx,+sse"] | ||
#[cfg_attr(test, assert_instr(vcmpeqps, imm8 = 0))] // TODO Validate vcmpps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that we just need more assert_instr
attributes? Or should the intrustruction here be different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need more assert_instr
: the instruction depends on the comparison operand.
src/x86/sse.rs
Outdated
#[inline(always)] | ||
#[target_feature = "+sse"] | ||
pub unsafe fn _mm_undefined_ps() -> f32x4 { | ||
mem::uninitialized() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may be causing a fault on i586?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks: when I saw #101, I should have fix _mm_undefined_ps
but I did not.
Nice! |
No description provided.