diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-03-11 09:50:02 -0500 |
---|---|---|
committer | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-03-11 09:50:02 -0500 |
commit | 94daae6864769ffc5fff037dd18b2e8062ee672d (patch) | |
tree | 5790d2682bfdfbbb1a7942d28c298401c6f1f003 /src/arch/arm | |
parent | 0270cf13acd9686f264d3d3ed51d358796337bf4 (diff) | |
download | gem5-94daae6864769ffc5fff037dd18b2e8062ee672d.tar.xz |
arm: remove dead code fplib mul64x64
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/insts/fplib.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/arch/arm/insts/fplib.cc b/src/arch/arm/insts/fplib.cc index e6528358a..98410dd38 100644 --- a/src/arch/arm/insts/fplib.cc +++ b/src/arch/arm/insts/fplib.cc @@ -156,23 +156,6 @@ void mul64x32(uint64_t *x0, uint64_t *x1, uint64_t a, uint32_t b) } static inline void -mul64x64(uint64_t *x0, uint64_t *x1, uint64_t a, uint64_t b) -{ - uint64_t a0 = (uint32_t)a; - uint64_t a1 = a >> 32; - uint64_t b0 = (uint32_t)b; - uint64_t b1 = b >> 32; - uint64_t t1 = (a0 * b0 >> 32) + a1 * b0; - uint64_t t2 = a0 * b1; - uint64_t x = ((uint64_t)(uint32_t)t1 + (uint32_t)t2) >> 32; - x += t1 >> 32; - x += t2 >> 32; - x += a1 * b1; - *x0 = a * b; - *x1 = x; -} - -static inline void add128(uint64_t *x0, uint64_t *x1, uint64_t a0, uint64_t a1, uint64_t b0, uint64_t b1) { |