Focus & Challenges Contributions Future
Computer Arithmetic
Ar´ enaire project-team
LIP Laboratory, CNRS, ENSL, INRIA, UCBL SymB INRIA Evaluation Seminar – Paris, November 14
Ar´ enaire project-team Computer Arithmetic
Computer Arithmetic Ar enaire project-team LIP Laboratory, CNRS, - - PowerPoint PPT Presentation
Focus & Challenges Contributions Future Computer Arithmetic Ar enaire project-team LIP Laboratory, CNRS, ENSL, INRIA, UCBL SymB INRIA Evaluation Seminar Paris, November 14 Ar enaire project-team Computer Arithmetic Focus &
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Better numerics LHC@home 36000 heterogeneous machines Fine−grain arithmetic Arithmetic and algorithms Formal proof Number theory approximation Tools for polynomial TMD Gappa tool Validated infnorm CRLibm Coq proofs Performance Proven correct rounding Perfect double−precision elementary functions Normalization IEEE−754 R
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
n
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Target architecture Parameters Constraints Hardware operator Input function Function approximation Error analysis FPGA implementation
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Control 8BR (1bit) IPU Exception Control 16x32 Mult 16x32 Mult DPU Prefetch buffer 4 set D$ 32KB Store Load Unit 64 GPR (32b) File Reg 32KB I$ Branch Br RegFile ALU ALU ALU ALU Pre−Decode Cluster0 Cluster Unit Reg’s
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
/∗ Mul12 : e r r o r −f r e e m u l t i p l i c a t i o n ∗/ double c = 134217729.; up = u * c; vp = v * c; u1 = (u - up) + up; v1 = (v - vp) + vp; u2 = u - u1; v2 = v - v1; p = u * v; e = u1 * v1 - p + u1 * v2 + u2 * v1 + u2 * v2; /∗ Add12 : e r r o r −f r e e a d d i t i o n ∗/ s = u + v; t = s - u; e = v - t;
/∗ Compute approximation to r = 1/ s q r t (m) ∗/ r0 = SQRTPOLYC0 + m * (SQRTPOLYC1 + m * ( SQRTPOLYC2 + m * (SQRTPOLYC3 + m * SQRTPOLYC4))); /∗ I t e r a t e two times
double ∗/ r1 = 0.5 * r0 * (3 - m * (r0 * r0)); r2 = 0.5 * r1 * (3 - m * (r1 * r1)); /∗ I t e r a t e two times
double−double ∗/ Mul12(r2Sqh , r2Sql , r2 , r2); Add12(r2PHr2h , r2PHr2l , r2 , 0.5 * r2); Mul12(mMr2h , mMr2l , m, r2); Mul22(mMr2Ch , mMr2Cl , mMr2h , mMr2l , r2Sqh , r2Sql); MHmMr2Ch =
MHmMr2Cl =
Add22(r3h , r3l , r2PHr2h , r2PHr2l , MHmMr2Ch , MHmMr2Cl); Mul22(r3Sqh , r3Sql , r3h , r3l , r3h , r3l); Mul22(mMr3Sqh , mMr3Sql , m,0, r3Sqh , r3Sql); Mul22(r4h , r4l , r3h , r3l , 1,
/∗ M u l t i p l y r e c i p r o c a l square root by m ∗/ Mul22(srtmh , srtml , m, 0, r4h , r4l);
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future Hardware Operators Proofs Algorithms & Arithmetics
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic
Focus & Challenges Contributions Future
Ar´ enaire project-team Computer Arithmetic