-
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
29 changed files
with
299 additions
and
6 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,12 @@ | ||
#include "common.h" | ||
|
||
v128 vrotri_b(v128 a, int imm) { | ||
v128 dst; | ||
#include "vrotri_b.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vrotri_b, 0); | ||
FUZZ1(vrotri_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] >> imm) | (a.byte[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 vrotri_d(v128 a, int imm) { | ||
v128 dst; | ||
#include "vrotri_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vrotri_d, 0); | ||
FUZZ1(vrotri_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] >> imm) | (a.dword[i] << (64 - 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 vrotri_h(v128 a, int imm) { | ||
v128 dst; | ||
#include "vrotri_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vrotri_h, 0); | ||
FUZZ1(vrotri_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] >> imm) | (a.half[i] << (16 - 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 vrotri_w(v128 a, int imm) { | ||
v128 dst; | ||
#include "vrotri_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vrotri_w, 0); | ||
FUZZ1(vrotri_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] >> imm) | (a.word[i] << (32 - 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 vsrari_b(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrari_b.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrari_b, 0); | ||
FUZZ1(vsrari_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,7 @@ | ||
for (int i = 0; i < 16; i++) { | ||
if (imm == 0) { | ||
dst.byte[i] = a.byte[i]; | ||
} else { | ||
dst.byte[i] = ((s8)a.byte[i] >> imm) + (((s8)a.byte[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrari_d(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrari_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrari_d, 0); | ||
FUZZ1(vsrari_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,8 @@ | ||
for (int i = 0; i < 2; i++) { | ||
if (imm == 0) { | ||
dst.dword[i] = a.dword[i]; | ||
} else { | ||
dst.dword[i] = | ||
((s64)a.dword[i] >> imm) + (((s64)a.dword[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrari_h(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrari_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrari_h, 0); | ||
FUZZ1(vsrari_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,8 @@ | ||
for (int i = 0; i < 8; i++) { | ||
if (imm == 0) { | ||
dst.half[i] = a.half[i]; | ||
} else { | ||
dst.half[i] = | ||
((s16)a.half[i] >> imm) + (((s16)a.half[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrari_w(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrari_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrari_w, 0); | ||
FUZZ1(vsrari_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,8 @@ | ||
for (int i = 0; i < 4; i++) { | ||
if (imm == 0) { | ||
dst.word[i] = a.word[i]; | ||
} else { | ||
dst.word[i] = | ||
((s32)a.word[i] >> imm) + (((s32)a.word[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrlri_b(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrlri_b.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrlri_b, 0); | ||
FUZZ1(vsrlri_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,7 @@ | ||
for (int i = 0; i < 16; i++) { | ||
if (imm == 0) { | ||
dst.byte[i] = a.byte[i]; | ||
} else { | ||
dst.byte[i] = (a.byte[i] >> imm) + ((a.byte[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrlri_d(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrlri_d.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrlri_d, 0); | ||
FUZZ1(vsrlri_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,7 @@ | ||
for (int i = 0; i < 2; i++) { | ||
if (imm == 0) { | ||
dst.dword[i] = a.dword[i]; | ||
} else { | ||
dst.dword[i] = (a.dword[i] >> imm) + ((a.dword[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrlri_h(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrlri_h.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrlri_h, 0); | ||
FUZZ1(vsrlri_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,7 @@ | ||
for (int i = 0; i < 8; i++) { | ||
if (imm == 0) { | ||
dst.half[i] = a.half[i]; | ||
} else { | ||
dst.half[i] = (a.half[i] >> imm) + ((a.half[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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 vsrlri_w(v128 a, int imm) { | ||
v128 dst; | ||
#include "vsrlri_w.h" | ||
return dst; | ||
} | ||
|
||
void test() { | ||
FUZZ1(vsrlri_w, 0); | ||
FUZZ1(vsrlri_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,7 @@ | ||
for (int i = 0; i < 4; i++) { | ||
if (imm == 0) { | ||
dst.word[i] = a.word[i]; | ||
} else { | ||
dst.word[i] = (a.word[i] >> imm) + ((a.word[i] >> (imm - 1)) & 0x1); | ||
} | ||
} |
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
Oops, something went wrong.