-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
262 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "common.h" | ||
|
||
v128 vsran_b_h(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vsran_b_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vsran_b_h); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
for (int i = 0; i < 16; i++) { | ||
dst.byte[i] = (i < 8) ? (s8)((s16)a.half[i] >> (b.half[i] & 15)) : 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
for (int i = 0; i < 2; i++) { | ||
dst.dword[i] = (i < 1) ? (s64)((s128)a.qword[i] >> (b.qword[i] & 127)) : 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "common.h" | ||
|
||
v128 vsran_h_w(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vsran_h_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vsran_h_w); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
for (int i = 0; i < 8; i++) { | ||
dst.half[i] = (i < 4) ? (s16)((s32)a.word[i] >> (b.word[i] & 31)) : 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "common.h" | ||
|
||
v128 vsran_w_d(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vsran_w_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vsran_w_d); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
for (int i = 0; i < 4; i++) { | ||
dst.word[i] = (i < 2) ? (s32)((s64)a.dword[i] >> (b.dword[i] & 63)) : 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrani_b_h(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrani_b_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrani_b_h, 0); | ||
FUZZ2(vsrani_b_h, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 16; i++) { | ||
dst.byte[i] = | ||
(i < 8) ? (s8)((s16)b.half[i] >> imm) : (s8)((s16)a.half[i - 8] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrani_d_q(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrani_d_q.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrani_d_q, 0); | ||
FUZZ2(vsrani_d_q, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 2; i++) { | ||
dst.dword[i] = (i < 1) ? (s64)((s128)b.qword[i] >> imm) | ||
: (s64)((s128)a.qword[i - 1] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrani_h_w(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrani_h_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrani_h_w, 0); | ||
FUZZ2(vsrani_h_w, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 8; i++) { | ||
dst.half[i] = | ||
(i < 4) ? (s16)((s32)b.word[i] >> imm) : (s16)((s32)a.word[i - 4] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrani_w_d(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrani_w_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrani_w_d, 0); | ||
FUZZ2(vsrani_w_d, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 4; i++) { | ||
dst.word[i] = (i < 2) ? (s32)((s64)b.dword[i] >> imm) | ||
: (s32)((s64)a.dword[i - 2] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrlni_b_h(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrlni_b_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrlni_b_h, 0); | ||
FUZZ2(vsrlni_b_h, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 16; i++) { | ||
dst.byte[i] = | ||
(i < 8) ? (u8)((u16)b.half[i] >> imm) : (u8)((u16)a.half[i - 8] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrlni_d_q(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrlni_d_q.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrlni_d_q, 0); | ||
FUZZ2(vsrlni_d_q, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 2; i++) { | ||
dst.dword[i] = (i < 1) ? (u64)((u128)b.qword[i] >> imm) | ||
: (u64)((u128)a.qword[i - 1] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrlni_h_w(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrlni_h_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrlni_h_w, 0); | ||
FUZZ2(vsrlni_h_w, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 8; i++) { | ||
dst.half[i] = | ||
(i < 4) ? (u16)((u32)b.word[i] >> imm) : (u16)((u32)a.word[i - 4] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "common.h" | ||
|
||
v128 vsrlni_w_d(v128 a, v128 b, int imm) { | ||
v128 dst; | ||
#include "vsrlni_w_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ2(vsrlni_w_d, 0); | ||
FUZZ2(vsrlni_w_d, 7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
for (int i = 0; i < 4; i++) { | ||
dst.word[i] = (i < 2) ? (u32)((u64)b.dword[i] >> imm) | ||
: (u32)((u64)a.dword[i - 2] >> imm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters