Skip to content

Commit

Permalink
Revert "[Auto-gen] Update tests under ../auto-generated. (make git-co…
Browse files Browse the repository at this point in the history
…mmit-autogen-test)"

This reverts commit 2605745.
  • Loading branch information
topperc authored and rofirrim committed Jun 13, 2024
1 parent 4ba136c commit eccc2e0
Show file tree
Hide file tree
Showing 12 changed files with 168 additions and 168 deletions.
28 changes: 14 additions & 14 deletions auto-generated/api-testing/vcpop.c
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
#include <riscv_vector.h>
#include <stdint.h>

unsigned int test_vcpop_m_b1(vbool1_t vs2, size_t vl) {
unsigned long test_vcpop_m_b1(vbool1_t vs2, size_t vl) {
return __riscv_vcpop_m_b1(vs2, vl);
}

unsigned int test_vcpop_m_b2(vbool2_t vs2, size_t vl) {
unsigned long test_vcpop_m_b2(vbool2_t vs2, size_t vl) {
return __riscv_vcpop_m_b2(vs2, vl);
}

unsigned int test_vcpop_m_b4(vbool4_t vs2, size_t vl) {
unsigned long test_vcpop_m_b4(vbool4_t vs2, size_t vl) {
return __riscv_vcpop_m_b4(vs2, vl);
}

unsigned int test_vcpop_m_b8(vbool8_t vs2, size_t vl) {
unsigned long test_vcpop_m_b8(vbool8_t vs2, size_t vl) {
return __riscv_vcpop_m_b8(vs2, vl);
}

unsigned int test_vcpop_m_b16(vbool16_t vs2, size_t vl) {
unsigned long test_vcpop_m_b16(vbool16_t vs2, size_t vl) {
return __riscv_vcpop_m_b16(vs2, vl);
}

unsigned int test_vcpop_m_b32(vbool32_t vs2, size_t vl) {
unsigned long test_vcpop_m_b32(vbool32_t vs2, size_t vl) {
return __riscv_vcpop_m_b32(vs2, vl);
}

unsigned int test_vcpop_m_b64(vbool64_t vs2, size_t vl) {
unsigned long test_vcpop_m_b64(vbool64_t vs2, size_t vl) {
return __riscv_vcpop_m_b64(vs2, vl);
}

unsigned int test_vcpop_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
unsigned long test_vcpop_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
return __riscv_vcpop_m_b1_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
unsigned long test_vcpop_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
return __riscv_vcpop_m_b2_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
unsigned long test_vcpop_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
return __riscv_vcpop_m_b4_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
unsigned long test_vcpop_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
return __riscv_vcpop_m_b8_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
unsigned long test_vcpop_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
return __riscv_vcpop_m_b16_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
unsigned long test_vcpop_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
return __riscv_vcpop_m_b32_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
unsigned long test_vcpop_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
return __riscv_vcpop_m_b64_m(vm, vs2, vl);
}
28 changes: 14 additions & 14 deletions auto-generated/api-testing/vfirst.c
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
#include <riscv_vector.h>
#include <stdint.h>

int test_vfirst_m_b1(vbool1_t vs2, size_t vl) {
long test_vfirst_m_b1(vbool1_t vs2, size_t vl) {
return __riscv_vfirst_m_b1(vs2, vl);
}

int test_vfirst_m_b2(vbool2_t vs2, size_t vl) {
long test_vfirst_m_b2(vbool2_t vs2, size_t vl) {
return __riscv_vfirst_m_b2(vs2, vl);
}

int test_vfirst_m_b4(vbool4_t vs2, size_t vl) {
long test_vfirst_m_b4(vbool4_t vs2, size_t vl) {
return __riscv_vfirst_m_b4(vs2, vl);
}

int test_vfirst_m_b8(vbool8_t vs2, size_t vl) {
long test_vfirst_m_b8(vbool8_t vs2, size_t vl) {
return __riscv_vfirst_m_b8(vs2, vl);
}

int test_vfirst_m_b16(vbool16_t vs2, size_t vl) {
long test_vfirst_m_b16(vbool16_t vs2, size_t vl) {
return __riscv_vfirst_m_b16(vs2, vl);
}

int test_vfirst_m_b32(vbool32_t vs2, size_t vl) {
long test_vfirst_m_b32(vbool32_t vs2, size_t vl) {
return __riscv_vfirst_m_b32(vs2, vl);
}

int test_vfirst_m_b64(vbool64_t vs2, size_t vl) {
long test_vfirst_m_b64(vbool64_t vs2, size_t vl) {
return __riscv_vfirst_m_b64(vs2, vl);
}

int test_vfirst_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
long test_vfirst_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
return __riscv_vfirst_m_b1_m(vm, vs2, vl);
}

int test_vfirst_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
long test_vfirst_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
return __riscv_vfirst_m_b2_m(vm, vs2, vl);
}

int test_vfirst_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
long test_vfirst_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
return __riscv_vfirst_m_b4_m(vm, vs2, vl);
}

int test_vfirst_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
long test_vfirst_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
return __riscv_vfirst_m_b8_m(vm, vs2, vl);
}

int test_vfirst_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
long test_vfirst_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
return __riscv_vfirst_m_b16_m(vm, vs2, vl);
}

int test_vfirst_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
long test_vfirst_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
return __riscv_vfirst_m_b32_m(vm, vs2, vl);
}

int test_vfirst_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
long test_vfirst_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
return __riscv_vfirst_m_b64_m(vm, vs2, vl);
}
28 changes: 14 additions & 14 deletions auto-generated/gnu-api-tests/vcpop.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,59 +3,59 @@

#include <riscv_vector.h>

unsigned int test_vcpop_m_b1(vbool1_t vs2, size_t vl) {
unsigned long test_vcpop_m_b1(vbool1_t vs2, size_t vl) {
return __riscv_vcpop_m_b1(vs2, vl);
}

unsigned int test_vcpop_m_b2(vbool2_t vs2, size_t vl) {
unsigned long test_vcpop_m_b2(vbool2_t vs2, size_t vl) {
return __riscv_vcpop_m_b2(vs2, vl);
}

unsigned int test_vcpop_m_b4(vbool4_t vs2, size_t vl) {
unsigned long test_vcpop_m_b4(vbool4_t vs2, size_t vl) {
return __riscv_vcpop_m_b4(vs2, vl);
}

unsigned int test_vcpop_m_b8(vbool8_t vs2, size_t vl) {
unsigned long test_vcpop_m_b8(vbool8_t vs2, size_t vl) {
return __riscv_vcpop_m_b8(vs2, vl);
}

unsigned int test_vcpop_m_b16(vbool16_t vs2, size_t vl) {
unsigned long test_vcpop_m_b16(vbool16_t vs2, size_t vl) {
return __riscv_vcpop_m_b16(vs2, vl);
}

unsigned int test_vcpop_m_b32(vbool32_t vs2, size_t vl) {
unsigned long test_vcpop_m_b32(vbool32_t vs2, size_t vl) {
return __riscv_vcpop_m_b32(vs2, vl);
}

unsigned int test_vcpop_m_b64(vbool64_t vs2, size_t vl) {
unsigned long test_vcpop_m_b64(vbool64_t vs2, size_t vl) {
return __riscv_vcpop_m_b64(vs2, vl);
}

unsigned int test_vcpop_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
unsigned long test_vcpop_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
return __riscv_vcpop_m_b1_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
unsigned long test_vcpop_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
return __riscv_vcpop_m_b2_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
unsigned long test_vcpop_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
return __riscv_vcpop_m_b4_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
unsigned long test_vcpop_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
return __riscv_vcpop_m_b8_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
unsigned long test_vcpop_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
return __riscv_vcpop_m_b16_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
unsigned long test_vcpop_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
return __riscv_vcpop_m_b32_m(vm, vs2, vl);
}

unsigned int test_vcpop_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
unsigned long test_vcpop_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
return __riscv_vcpop_m_b64_m(vm, vs2, vl);
}
/* { dg-final { scan-assembler-times {vseti?vli\s+[a-z0-9]+,\s*[a-z0-9]+,\s*e[0-9]+,\s*mf?[1248],\s*t[au],\s*m[au]\s+vcpop\.[ivxfswum.]+\s+} 14 } } */
28 changes: 14 additions & 14 deletions auto-generated/gnu-api-tests/vfirst.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,59 +3,59 @@

#include <riscv_vector.h>

int test_vfirst_m_b1(vbool1_t vs2, size_t vl) {
long test_vfirst_m_b1(vbool1_t vs2, size_t vl) {
return __riscv_vfirst_m_b1(vs2, vl);
}

int test_vfirst_m_b2(vbool2_t vs2, size_t vl) {
long test_vfirst_m_b2(vbool2_t vs2, size_t vl) {
return __riscv_vfirst_m_b2(vs2, vl);
}

int test_vfirst_m_b4(vbool4_t vs2, size_t vl) {
long test_vfirst_m_b4(vbool4_t vs2, size_t vl) {
return __riscv_vfirst_m_b4(vs2, vl);
}

int test_vfirst_m_b8(vbool8_t vs2, size_t vl) {
long test_vfirst_m_b8(vbool8_t vs2, size_t vl) {
return __riscv_vfirst_m_b8(vs2, vl);
}

int test_vfirst_m_b16(vbool16_t vs2, size_t vl) {
long test_vfirst_m_b16(vbool16_t vs2, size_t vl) {
return __riscv_vfirst_m_b16(vs2, vl);
}

int test_vfirst_m_b32(vbool32_t vs2, size_t vl) {
long test_vfirst_m_b32(vbool32_t vs2, size_t vl) {
return __riscv_vfirst_m_b32(vs2, vl);
}

int test_vfirst_m_b64(vbool64_t vs2, size_t vl) {
long test_vfirst_m_b64(vbool64_t vs2, size_t vl) {
return __riscv_vfirst_m_b64(vs2, vl);
}

int test_vfirst_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
long test_vfirst_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
return __riscv_vfirst_m_b1_m(vm, vs2, vl);
}

int test_vfirst_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
long test_vfirst_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
return __riscv_vfirst_m_b2_m(vm, vs2, vl);
}

int test_vfirst_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
long test_vfirst_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
return __riscv_vfirst_m_b4_m(vm, vs2, vl);
}

int test_vfirst_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
long test_vfirst_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
return __riscv_vfirst_m_b8_m(vm, vs2, vl);
}

int test_vfirst_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
long test_vfirst_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
return __riscv_vfirst_m_b16_m(vm, vs2, vl);
}

int test_vfirst_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
long test_vfirst_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
return __riscv_vfirst_m_b32_m(vm, vs2, vl);
}

int test_vfirst_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
long test_vfirst_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
return __riscv_vfirst_m_b64_m(vm, vs2, vl);
}
/* { dg-final { scan-assembler-times {vseti?vli\s+[a-z0-9]+,\s*[a-z0-9]+,\s*e[0-9]+,\s*mf?[1248],\s*t[au],\s*m[au]\s+vfirst\.[ivxfswum.]+\s+} 14 } } */
28 changes: 14 additions & 14 deletions auto-generated/gnu-overloaded-tests/vcpop.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,59 +3,59 @@

#include <riscv_vector.h>

unsigned int test_vcpop_m_b1(vbool1_t vs2, size_t vl) {
unsigned long test_vcpop_m_b1(vbool1_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b2(vbool2_t vs2, size_t vl) {
unsigned long test_vcpop_m_b2(vbool2_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b4(vbool4_t vs2, size_t vl) {
unsigned long test_vcpop_m_b4(vbool4_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b8(vbool8_t vs2, size_t vl) {
unsigned long test_vcpop_m_b8(vbool8_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b16(vbool16_t vs2, size_t vl) {
unsigned long test_vcpop_m_b16(vbool16_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b32(vbool32_t vs2, size_t vl) {
unsigned long test_vcpop_m_b32(vbool32_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b64(vbool64_t vs2, size_t vl) {
unsigned long test_vcpop_m_b64(vbool64_t vs2, size_t vl) {
return __riscv_vcpop(vs2, vl);
}

unsigned int test_vcpop_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
unsigned long test_vcpop_m_b1_m(vbool1_t vm, vbool1_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}

unsigned int test_vcpop_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
unsigned long test_vcpop_m_b2_m(vbool2_t vm, vbool2_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}

unsigned int test_vcpop_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
unsigned long test_vcpop_m_b4_m(vbool4_t vm, vbool4_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}

unsigned int test_vcpop_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
unsigned long test_vcpop_m_b8_m(vbool8_t vm, vbool8_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}

unsigned int test_vcpop_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
unsigned long test_vcpop_m_b16_m(vbool16_t vm, vbool16_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}

unsigned int test_vcpop_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
unsigned long test_vcpop_m_b32_m(vbool32_t vm, vbool32_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}

unsigned int test_vcpop_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
unsigned long test_vcpop_m_b64_m(vbool64_t vm, vbool64_t vs2, size_t vl) {
return __riscv_vcpop(vm, vs2, vl);
}
/* { dg-final { scan-assembler-times {vseti?vli\s+[a-z0-9]+,\s*[a-z0-9]+,\s*e[0-9]+,\s*mf?[1248],\s*t[au],\s*m[au]\s+vcpop\.[ivxfswum.]+\s+} 14 } } */
Loading

0 comments on commit eccc2e0

Please sign in to comment.