From 1598e2964e2ed4b31f1fa30e2c8ee97ed6526c45 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 25 Mar 2011 17:44:06 -0700 Subject: [PATCH] [sim,pk,xcc,opcodes] removed fminmag/fmaxmag --- riscv/execute.h | 20 -------------------- riscv/insns/fmaxmag_d.h | 6 ------ riscv/insns/fmaxmag_s.h | 6 ------ riscv/insns/fminmag_d.h | 6 ------ riscv/insns/fminmag_s.h | 6 ------ 5 files changed, 44 deletions(-) delete mode 100644 riscv/insns/fmaxmag_d.h delete mode 100644 riscv/insns/fmaxmag_s.h delete mode 100644 riscv/insns/fminmag_d.h delete mode 100644 riscv/insns/fminmag_s.h diff --git a/riscv/execute.h b/riscv/execute.h index 029917f..e64ebe1 100644 --- a/riscv/execute.h +++ b/riscv/execute.h @@ -790,21 +790,11 @@ switch((insn.bits >> 0x0) & 0x7f) #include "insns/fsgnjn_s.h" break; } - if((insn.bits & 0x1ffff) == 0x1b053) - { - #include "insns/fmaxmag_s.h" - break; - } if((insn.bits & 0x1f1ff) == 0x53) { #include "insns/fadd_s.h" break; } - if((insn.bits & 0x1ffff) == 0x1a053) - { - #include "insns/fminmag_s.h" - break; - } #include "insns/unimp.h" } case 0x1: @@ -844,11 +834,6 @@ switch((insn.bits >> 0x0) & 0x7f) #include "insns/fle_d.h" break; } - if((insn.bits & 0x1ffff) == 0x1b0d3) - { - #include "insns/fmaxmag_d.h" - break; - } if((insn.bits & 0x1ffff) == 0x160d3) { #include "insns/flt_d.h" @@ -899,11 +884,6 @@ switch((insn.bits >> 0x0) & 0x7f) #include "insns/mxtf_d.h" break; } - if((insn.bits & 0x1ffff) == 0x1a0d3) - { - #include "insns/fminmag_d.h" - break; - } if((insn.bits & 0x1ffff) == 0x50d3) { #include "insns/fsgnj_d.h" diff --git a/riscv/insns/fmaxmag_d.h b/riscv/insns/fmaxmag_d.h deleted file mode 100644 index 76546c4..0000000 --- a/riscv/insns/fmaxmag_d.h +++ /dev/null @@ -1,6 +0,0 @@ -require_fp; -uint64_t abs1 = FRS1 & ~INT64_MIN; -uint64_t abs2 = FRS2 & ~INT64_MIN; -FRD = isNaNF64UI(FRS2) || f64_le_quiet(abs2,abs1) /* && FRS1 not NaN */ - ? FRS1 : FRS2; -set_fp_exceptions; diff --git a/riscv/insns/fmaxmag_s.h b/riscv/insns/fmaxmag_s.h deleted file mode 100644 index ed6c178..0000000 --- a/riscv/insns/fmaxmag_s.h +++ /dev/null @@ -1,6 +0,0 @@ -require_fp; -uint32_t abs1 = FRS1 & ~INT32_MIN; -uint32_t abs2 = FRS2 & ~INT32_MIN; -FRD = isNaNF32UI(FRS2) || f32_le_quiet(abs2,abs1) /* && FRS1 not NaN */ - ? FRS1 : FRS2; -set_fp_exceptions; diff --git a/riscv/insns/fminmag_d.h b/riscv/insns/fminmag_d.h deleted file mode 100644 index 40dabea..0000000 --- a/riscv/insns/fminmag_d.h +++ /dev/null @@ -1,6 +0,0 @@ -require_fp; -uint64_t abs1 = FRS1 & ~INT64_MIN; -uint64_t abs2 = FRS2 & ~INT64_MIN; -FRD = isNaNF64UI(FRS2) || f64_lt_quiet(abs1,abs2) /* && FRS1 not NaN */ - ? FRS1 : FRS2; -set_fp_exceptions; diff --git a/riscv/insns/fminmag_s.h b/riscv/insns/fminmag_s.h deleted file mode 100644 index 89ff91c..0000000 --- a/riscv/insns/fminmag_s.h +++ /dev/null @@ -1,6 +0,0 @@ -require_fp; -uint32_t abs1 = FRS1 & ~INT32_MIN; -uint32_t abs2 = FRS2 & ~INT32_MIN; -FRD = isNaNF32UI(FRS2) || f32_lt_quiet(abs1,abs2) /* && FRS1 not NaN */ - ? FRS1 : FRS2; -set_fp_exceptions; -- 2.30.2