From f2463160f85c35d3c30e6da6c5dd64bb8e47c7fd Mon Sep 17 00:00:00 2001 From: Jerry Zhang Jian Date: Tue, 1 Oct 2024 15:33:28 +0800 Subject: [PATCH] [Auto-gen] Update bfloat16 documents under ../auto-generated. (make git-commit-autogen-bf16-doc) --- auto-generated/bfloat16/llvm-api-tests/vfmv.c | 4 +-- .../bfloat16/llvm-api-tests/vmerge.c | 4 +-- auto-generated/bfloat16/llvm-api-tests/vmv.c | 4 +-- .../bfloat16/llvm-overloaded-tests/vmerge.c | 4 +-- .../bfloat16/llvm-overloaded-tests/vmv.c | 4 +-- .../policy_funcs/llvm-api-tests/vfmv.c | 10 ++++--- .../policy_funcs/llvm-api-tests/vmerge.c | 28 +++++++++++++------ .../policy_funcs/llvm-api-tests/vmv.c | 22 +++++++++------ .../policy_funcs/llvm-overloaded-tests/vfmv.c | 4 +-- .../llvm-overloaded-tests/vmerge.c | 4 +-- .../policy_funcs/llvm-overloaded-tests/vmv.c | 4 +-- 11 files changed, 56 insertions(+), 36 deletions(-) diff --git a/auto-generated/bfloat16/llvm-api-tests/vfmv.c b/auto-generated/bfloat16/llvm-api-tests/vfmv.c index 4aa30e018..127e9508e 100644 --- a/auto-generated/bfloat16/llvm-api-tests/vfmv.c +++ b/auto-generated/bfloat16/llvm-api-tests/vfmv.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/llvm-api-tests/vmerge.c b/auto-generated/bfloat16/llvm-api-tests/vmerge.c index 87dd321c9..c2962bf98 100644 --- a/auto-generated/bfloat16/llvm-api-tests/vmerge.c +++ b/auto-generated/bfloat16/llvm-api-tests/vmerge.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/llvm-api-tests/vmv.c b/auto-generated/bfloat16/llvm-api-tests/vmv.c index 0e059a186..b0b0f2bd7 100644 --- a/auto-generated/bfloat16/llvm-api-tests/vmv.c +++ b/auto-generated/bfloat16/llvm-api-tests/vmv.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/llvm-overloaded-tests/vmerge.c b/auto-generated/bfloat16/llvm-overloaded-tests/vmerge.c index b594ab655..d0056e2b5 100644 --- a/auto-generated/bfloat16/llvm-overloaded-tests/vmerge.c +++ b/auto-generated/bfloat16/llvm-overloaded-tests/vmerge.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/llvm-overloaded-tests/vmv.c b/auto-generated/bfloat16/llvm-overloaded-tests/vmv.c index 8fb01aa64..43e6807cf 100644 --- a/auto-generated/bfloat16/llvm-overloaded-tests/vmv.c +++ b/auto-generated/bfloat16/llvm-overloaded-tests/vmv.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vfmv.c b/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vfmv.c index a4d82c885..c1537f987 100644 --- a/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vfmv.c +++ b/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vfmv.c @@ -1,17 +1,19 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s #include -vbfloat16mf4_t test_vfmv_v_f_bf16mf4_tu(vbfloat16mf4_t vd, __bf16 rs1, size_t vl) { +vbfloat16mf4_t test_vfmv_v_f_bf16mf4_tu(vbfloat16mf4_t vd, __bf16 rs1, + size_t vl) { return __riscv_vfmv_v_f_bf16mf4_tu(vd, rs1, vl); } -vbfloat16mf2_t test_vfmv_v_f_bf16mf2_tu(vbfloat16mf2_t vd, __bf16 rs1, size_t vl) { +vbfloat16mf2_t test_vfmv_v_f_bf16mf2_tu(vbfloat16mf2_t vd, __bf16 rs1, + size_t vl) { return __riscv_vfmv_v_f_bf16mf2_tu(vd, rs1, vl); } diff --git a/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmerge.c b/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmerge.c index e38fd03ab..d8381141a 100644 --- a/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmerge.c +++ b/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmerge.c @@ -1,32 +1,44 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s #include -vbfloat16mf4_t test_vmerge_vvm_bf16mf4_tu(vbfloat16mf4_t vd, vbfloat16mf4_t vs2, vbfloat16mf4_t vs1, vbool64_t v0, size_t vl) { +vbfloat16mf4_t test_vmerge_vvm_bf16mf4_tu(vbfloat16mf4_t vd, vbfloat16mf4_t vs2, + vbfloat16mf4_t vs1, vbool64_t v0, + size_t vl) { return __riscv_vmerge_vvm_bf16mf4_tu(vd, vs2, vs1, v0, vl); } -vbfloat16mf2_t test_vmerge_vvm_bf16mf2_tu(vbfloat16mf2_t vd, vbfloat16mf2_t vs2, vbfloat16mf2_t vs1, vbool32_t v0, size_t vl) { +vbfloat16mf2_t test_vmerge_vvm_bf16mf2_tu(vbfloat16mf2_t vd, vbfloat16mf2_t vs2, + vbfloat16mf2_t vs1, vbool32_t v0, + size_t vl) { return __riscv_vmerge_vvm_bf16mf2_tu(vd, vs2, vs1, v0, vl); } -vbfloat16m1_t test_vmerge_vvm_bf16m1_tu(vbfloat16m1_t vd, vbfloat16m1_t vs2, vbfloat16m1_t vs1, vbool16_t v0, size_t vl) { +vbfloat16m1_t test_vmerge_vvm_bf16m1_tu(vbfloat16m1_t vd, vbfloat16m1_t vs2, + vbfloat16m1_t vs1, vbool16_t v0, + size_t vl) { return __riscv_vmerge_vvm_bf16m1_tu(vd, vs2, vs1, v0, vl); } -vbfloat16m2_t test_vmerge_vvm_bf16m2_tu(vbfloat16m2_t vd, vbfloat16m2_t vs2, vbfloat16m2_t vs1, vbool8_t v0, size_t vl) { +vbfloat16m2_t test_vmerge_vvm_bf16m2_tu(vbfloat16m2_t vd, vbfloat16m2_t vs2, + vbfloat16m2_t vs1, vbool8_t v0, + size_t vl) { return __riscv_vmerge_vvm_bf16m2_tu(vd, vs2, vs1, v0, vl); } -vbfloat16m4_t test_vmerge_vvm_bf16m4_tu(vbfloat16m4_t vd, vbfloat16m4_t vs2, vbfloat16m4_t vs1, vbool4_t v0, size_t vl) { +vbfloat16m4_t test_vmerge_vvm_bf16m4_tu(vbfloat16m4_t vd, vbfloat16m4_t vs2, + vbfloat16m4_t vs1, vbool4_t v0, + size_t vl) { return __riscv_vmerge_vvm_bf16m4_tu(vd, vs2, vs1, v0, vl); } -vbfloat16m8_t test_vmerge_vvm_bf16m8_tu(vbfloat16m8_t vd, vbfloat16m8_t vs2, vbfloat16m8_t vs1, vbool2_t v0, size_t vl) { +vbfloat16m8_t test_vmerge_vvm_bf16m8_tu(vbfloat16m8_t vd, vbfloat16m8_t vs2, + vbfloat16m8_t vs1, vbool2_t v0, + size_t vl) { return __riscv_vmerge_vvm_bf16m8_tu(vd, vs2, vs1, v0, vl); } diff --git a/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmv.c b/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmv.c index 404840847..b4d091c72 100644 --- a/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmv.c +++ b/auto-generated/bfloat16/policy_funcs/llvm-api-tests/vmv.c @@ -1,32 +1,38 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s #include -vbfloat16mf4_t test_vmv_v_v_bf16mf4_tu(vbfloat16mf4_t vd, vbfloat16mf4_t vs1, size_t vl) { +vbfloat16mf4_t test_vmv_v_v_bf16mf4_tu(vbfloat16mf4_t vd, vbfloat16mf4_t vs1, + size_t vl) { return __riscv_vmv_v_v_bf16mf4_tu(vd, vs1, vl); } -vbfloat16mf2_t test_vmv_v_v_bf16mf2_tu(vbfloat16mf2_t vd, vbfloat16mf2_t vs1, size_t vl) { +vbfloat16mf2_t test_vmv_v_v_bf16mf2_tu(vbfloat16mf2_t vd, vbfloat16mf2_t vs1, + size_t vl) { return __riscv_vmv_v_v_bf16mf2_tu(vd, vs1, vl); } -vbfloat16m1_t test_vmv_v_v_bf16m1_tu(vbfloat16m1_t vd, vbfloat16m1_t vs1, size_t vl) { +vbfloat16m1_t test_vmv_v_v_bf16m1_tu(vbfloat16m1_t vd, vbfloat16m1_t vs1, + size_t vl) { return __riscv_vmv_v_v_bf16m1_tu(vd, vs1, vl); } -vbfloat16m2_t test_vmv_v_v_bf16m2_tu(vbfloat16m2_t vd, vbfloat16m2_t vs1, size_t vl) { +vbfloat16m2_t test_vmv_v_v_bf16m2_tu(vbfloat16m2_t vd, vbfloat16m2_t vs1, + size_t vl) { return __riscv_vmv_v_v_bf16m2_tu(vd, vs1, vl); } -vbfloat16m4_t test_vmv_v_v_bf16m4_tu(vbfloat16m4_t vd, vbfloat16m4_t vs1, size_t vl) { +vbfloat16m4_t test_vmv_v_v_bf16m4_tu(vbfloat16m4_t vd, vbfloat16m4_t vs1, + size_t vl) { return __riscv_vmv_v_v_bf16m4_tu(vd, vs1, vl); } -vbfloat16m8_t test_vmv_v_v_bf16m8_tu(vbfloat16m8_t vd, vbfloat16m8_t vs1, size_t vl) { +vbfloat16m8_t test_vmv_v_v_bf16m8_tu(vbfloat16m8_t vd, vbfloat16m8_t vs1, + size_t vl) { return __riscv_vmv_v_v_bf16m8_tu(vd, vs1, vl); } diff --git a/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vfmv.c b/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vfmv.c index 81928bd0b..cf30abe49 100644 --- a/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vfmv.c +++ b/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vfmv.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmerge.c b/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmerge.c index 75b25e3dd..d4b73a2fa 100644 --- a/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmerge.c +++ b/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmerge.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s diff --git a/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmv.c b/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmv.c index fffe66a5a..36f83611f 100644 --- a/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmv.c +++ b/auto-generated/bfloat16/policy_funcs/llvm-overloaded-tests/vmv.c @@ -1,7 +1,7 @@ // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +v \ -// RUN: -target-feature +experimental-zvfbfmin \ -// RUN: -target-feature +experimental-zvfbfwma -disable-O0-optnone \ +// RUN: -target-feature +zvfbfmin \ +// RUN: -target-feature +zvfbfwma -disable-O0-optnone \ // RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \ // RUN: FileCheck --check-prefix=CHECK-RV64 %s