-
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
21 changed files
with
158 additions
and
9 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 vbitrev_b(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vbitrev_b.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vbitrev_b); } |
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] = a.byte[i] ^ ((u8)1 << (b.byte[i] % 8)); | ||
} |
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 vbitrev_d(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vbitrev_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vbitrev_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 < 2; i++) { | ||
dst.dword[i] = a.dword[i] ^ ((u64)1 << (b.dword[i] % 64)); | ||
} |
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 vbitrev_h(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vbitrev_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vbitrev_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 < 8; i++) { | ||
dst.half[i] = a.half[i] ^ ((u16)1 << (b.half[i] % 16)); | ||
} |
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 vbitrev_w(v128 a, v128 b) { | ||
v128 dst; | ||
#include "vbitrev_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { FUZZ2(vbitrev_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 < 4; i++) { | ||
dst.word[i] = a.word[i] ^ ((u32)1 << (b.word[i] % 32)); | ||
} |
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,13 @@ | ||
#include "common.h" | ||
|
||
v128 vbitrevi_b(v128 a, int imm) { | ||
v128 dst; | ||
#include "vbitrevi_b.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vbitrevi_b, 0); | ||
FUZZ1(vbitrevi_b, 3); | ||
FUZZ1(vbitrevi_b, 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,3 @@ | ||
for (int i = 0; i < 16; i++) { | ||
dst.byte[i] = a.byte[i] ^ ((u8)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,13 @@ | ||
#include "common.h" | ||
|
||
v128 vbitrevi_d(v128 a, int imm) { | ||
v128 dst; | ||
#include "vbitrevi_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vbitrevi_d, 0); | ||
FUZZ1(vbitrevi_d, 3); | ||
FUZZ1(vbitrevi_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,3 @@ | ||
for (int i = 0; i < 2; i++) { | ||
dst.dword[i] = a.dword[i] ^ ((u64)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,13 @@ | ||
#include "common.h" | ||
|
||
v128 vbitrevi_h(v128 a, int imm) { | ||
v128 dst; | ||
#include "vbitrevi_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vbitrevi_h, 0); | ||
FUZZ1(vbitrevi_h, 3); | ||
FUZZ1(vbitrevi_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,3 @@ | ||
for (int i = 0; i < 8; i++) { | ||
dst.half[i] = a.half[i] ^ ((u16)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,13 @@ | ||
#include "common.h" | ||
|
||
v128 vbitrevi_w(v128 a, int imm) { | ||
v128 dst; | ||
#include "vbitrevi_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vbitrevi_w, 0); | ||
FUZZ1(vbitrevi_w, 3); | ||
FUZZ1(vbitrevi_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,3 @@ | ||
for (int i = 0; i < 4; i++) { | ||
dst.word[i] = a.word[i] ^ ((u32)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
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