Skip to content

Avx512bw #953

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

Merged
merged 35 commits into from
Nov 22, 2020
Merged

Avx512bw #953

merged 35 commits into from
Nov 22, 2020

Conversation

minybot
Copy link
Contributor

@minybot minybot commented Nov 17, 2020

fix set_epi8, set_epi16 in avx512f
cmplt, cmpgt, cmple, cmpge, cmpeq, cmpneq, cmp_mask: epu8,epu16,epi8,epi16
loadu: epi8,epi16; storeu: epi8,epi16
abs: epi8,epi16
add: epi8,epi16; adds: epu8,epu16,epi8,epi16
sub: epi8,epi16, subs: epu8,epu16,epi8,epi16
mulhi: epu16,epi16; mulhrs: epi16; mullo: epi16
max: epu8,epu16,epi8,epi16; min: epu8,epu16,epi8,epi16
madd: epi16; maddubs: epi16
sll: epi16; slli: epi16, sllv: epi16; srl: epi16; srli: epi16, srlv: epi16
packs: epi32,epi16; packus: epi32,epi16
avg: epu8,epu16
permutex2var: epi16; permutexvar: epi16
blend: epi16,epi8; broadcastw: epi16; broadcastb: epi8
unpackhi: epi16,epi8; unpacklo: epi16,epi8
mov: epi16,epi8; mask_set1: epi16,epi8
shufflelo: epi16; shufflehi: epi16

@rust-highfive
Copy link

r? @Amanieu

(rust_highfive has picked a reviewer for you, use r? to override)

@@ -63,7 +63,6 @@ pub struct poly8x16x4_t(

#[allow(improper_ctypes)]
extern "C" {
// absolute value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple days ago, it seems there is a modified to affect to pass the style check. Now, it should be fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me put back and see if it will pass the style test

@@ -115,7 +115,6 @@ pub struct poly8x8x4_t(pub poly8x8_t, pub poly8x8_t, pub poly8x8_t, pub poly8x8_

#[allow(improper_ctypes)]
extern "C" {
// absolute value (64-bit)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this line?

@@ -1,7 +1,6 @@
//! LLVM's SIMD platform intrinsics

extern "platform-intrinsic" {
//pub fn simd_select_bitmask
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this line?

@@ -653,7 +653,6 @@ pub unsafe fn _mm_cmpgt_epi64(a: __m128i, b: __m128i) -> __m128i {

#[allow(improper_ctypes)]
extern "C" {
// SSE 4.2 string and text comparison ops
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this line?

@Amanieu
Copy link
Member

Amanieu commented Nov 22, 2020

Style check seems to pass, can you fix the other removed lines as well?

@Amanieu Amanieu merged commit a129c40 into rust-lang:master Nov 22, 2020
@minybot minybot deleted the avx512bw branch November 22, 2020 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants