Cross-Platform Floating-Point Determinism Out of the Box
libs and tests Serhii Iliukhin 🇺🇦 sil@6it.dev Advising on C++ standard with regards to floating- point, idea about intrinsics, reviews Guy Davidson 🇬🇧 gd@6it.dev Advising on math aspects refactoring, reviews Dmytro Ivanchykhin 🇺🇦 di@6it.dev Implementing fixed- point math with floating-point fallback Mykhailo Borovyk 🇺🇦 mbo@6it.dev Implementing support for RISC-V, including Algorithm Correctness_/30 8 ❌ On Algorithm Correctness_/30 9 ❌ Mathematically 1 Fixed-Point 2 Floating-Point 3 ✅ ✅ ❌ There are algorithms, which are: Can be usually made solid - but only within0 码力 | 31 页 | 3.88 MB | 5 月前3A New Dragon in the Den: Fast Conversion From Floating-Point Numbers
cabeças. It's not a seven-headed beast. It's not rocket science.Cassio Neri Fast conversion from floating-point numbers CppCon 2024 - Aurora (Independent Researcher)MeMe O Neri's equationMe O Neri's fixed-point representation 23. 410 x 23. 4 1 Decimal floating-point representation (a) mantissa biased exponent10 x 23. 4 1 Decimal floating-point representation (a) mantissa 0 0 0 0 0 0 2 3 4 0 biased exponent10 x 23. 4 1 Decimal floating-point representation (a) mantissa 0 0 0 0 0 0 2 3 4 0 0 0 . , , , biased exponent10 x 23. 4 1 Decimal floating-point representation (a) exponent 00 码力 | 171 页 | 6.42 MB | 5 月前3The RISC-V Reader: An Open Architecture AtlasFirst Edition, 1.0.0 - 2021
fa0-7 Function args RISC-V calling convention and five optional extensions: 8 RV32M; 11 RV32A; 34 floating-point instructions each for 32- and 64-bit data (RV32F, RV32D); and 53 RV32V. Using regex notation F and FADD.D. RV32{F|D} adds registers f0-f31, whose width matches the widest precision, and a floating-point control and status register fcsr. RV32V adds vector registers v0-v31, vector predicate registers RVA 11, RVF 6, RVD 6, and RVV 0. AMOMINU.D rd,rs1,rs2 AMOMAXU.D rd,rs1,rs2 Two Optional Floating-Point Instruction Extensions: RVF & RVD +RV64{F|D} Calling Convention REMUW rd,rs1,rs20 码力 | 232 页 | 5.16 MB | 1 年前3Guía Práctica de RISC-V: El Atlas de una Arquitectura Abierta Primera Edición, 1.0.5
decimal128. 5 . 8 P a r a A p r e n d e r Má s IEEE Standards Committee. 754-2008 IEEE standard for floating-point arithmetic. IEEE Computer Society Std, 2008. A. Waterman and K. Asanovi´c, editors. The RISC-V Elaboración: La Illiac IV fue la primera en mostrar la complejidad de compilar para SIMD. Con 64 FPUs (Floating Point Units: Unidades de Punto Flotante) paralelas de 64 bits, la Illiac IV planeaba tener mas de lógicas antes que Moore publicara su ley. Sus arquitectos originalmente predijeron 1000 MFLOPS (Mega floating-point operations per second: millones de operaciones de punto flotante por segundo), pero el rendimiento0 码力 | 217 页 | 29.97 MB | 1 年前3Guia prático RISC-V Atlas de uma Arquitetura Aberta Primeira edição, 1.0.0
52 5.2 Registradores de Ponto Flutuante . . . . . . . . . . . . . . . . . . . . . . . . 52 5.3 Floating-Point Loads, Stores, and Arithmetic . . . . . . . . . . . . . . . . . 57 5.4 Conversão e Movimentação Temporaries (ft0 -ft11). (Tabela 20.1 de [Waterman and Asanovi´c 2017] é a base desta figura.) 5.3. FLOATING-POINT LOADS, STORES, AND ARITHMETIC 57 31 8 7 5 4 3 2 1 0 Reservado Modo de Arredondamento (f decimal128. 5 . 8 P a r a S a b e r Ma i s IEEE Standards Committee. 754-2008 IEEE standard for floating-point arithmetic. IEEE Computer Society Std, 2008. A. Waterman and K. Asanovi´c, editors. The RISC-V0 码力 | 215 页 | 21.77 MB | 1 年前3Reference guide for RTL units. Document version 3.2.2
TFDSet (175) array. FPE_FLTDIV = 3 Value signalling floating point divide by zero in case of SIGFPE signal FPE_FLTINV = 7 Value signalling floating point invalid operation in case of SIGFPE signal 151 signalling floating point overflow in case of SIGFPE signal FPE_FLTRES = 6 Value signalling floating point inexact result in case of SIGFPE signal FPE_FLTSUB = 8 Value signalling floating point subscript subscript out of range in case of SIGFPE signal FPE_FLTUND = 5 Value signalling floating point underflow in case of SIGFPE signal FPE_INTDIV = 1 Value signalling integer divide in case of SIGFPE signal0 码力 | 2191 页 | 4.93 MB | 1 年前3Template Metaprogramming: Type Traits
CategoriesPrimary type categories 44Primary type categories 44 is_void is_null_pointer is_integral is_floating_point is_array is_enum is_union is_class is_function is_pointer is_lvalue_reference is_rvalue_reference is_member_function_pointerPrimary type categories 44 is_void is_null_pointer is_integral is_floating_point is_array is_enum is_union is_class is_function is_pointer is_lvalue_reference is_rvalue_reference either true_type or false_typePrimary type categories 44 is_void is_null_pointer is_integral is_floating_point is_array is_enum is_union is_class is_function is_pointer is_lvalue_reference is_rvalue_reference0 码力 | 403 页 | 5.30 MB | 5 月前3RISC-V 手册 v2(一本开源指令集的指南)
中的浮 点数部分可能比其他章节中描述的其他部分的指令更一致。 5.8 扩展阅读 IEEE Standards Committee. 754-2008 IEEE standard for floating-point arithmetic. IEEE Computer Society Std, 2008. A. Waterman and K. Asanovi´c, editors. The 的信号处理机制依然保留,而用户态中断可以用来做未来的扩展,产生诸如垃圾回收屏障 (garbage collection barriers)、整数溢出(integer overflow)、浮点陷入(floating-point traps) 等用户态事件。 11.7 “P”标准扩展:封装的单指令多数据(Packed-SIMD)指令 P 扩展细分了现有的寄存器架构,提供更小数据类型上的并行计算。封装的单指令多数 00000 10 c.fld rd’, uimm(rs1’) f[8+rd’] = M[x[8+rs1’] + uimm][63:0] 浮点双字加载 (Floating-point Load Doubleword). RV32DC and RV64DC. 扩展形式为 fld rd, uimm(rs1), 其中 rd=8+rd’, rs1=8+rs1’.0 码力 | 164 页 | 8.85 MB | 1 年前3Programmer’s Guide for Free Pascal, Version 3.2.2
: Specify minimum enumeration size . . . . . . . . . . . . 32 1.2.52 $MINFPCONSTPREC : Specify floating point constant precision . . . . . . . 32 1.2.53 $MMX : Intel MMX support (Intel 80x86 only) . 8.2.4 Enumeration types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 8.2.5 Floating point types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Single . . . . . . This directive selects the type of coprocessor used to do floating point calculations. The directive must be followed by the type of floating point unit. The allowed values depend on the target CPU: all0 码力 | 187 页 | 531.58 KB | 1 年前3Haskell 2010 Language Report
Numeric types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 28.1.3 Floating types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 28.1.4 Other set of primitive datatypes, including lists, arrays, arbitrary and fixed precision integers, and floating-point numbers. Haskell is both the culmination and solidification of many years of research on non-strict and floating. Integer literals may be given in decimal (the default), octal (prefixed by 0o or 0O) or hexadecimal notation (prefixed by 0x or 0X). Floating literals are always decimal. A floating literal0 码力 | 329 页 | 1.43 MB | 1 年前3
共 761 条
- 1
- 2
- 3
- 4
- 5
- 6
- 77
相关搜索词
CrossPlatformFloatingPointDeterminismOutoftheBoxNewDragoninDenFastConversionFromNumbersTheRISCReaderAnOpenArchitectureAtlasFirstEdition1.02021GuPrcticadeElAtlasunaArquitecturaAbiertaPrimeraEdiciGuiaprticoumaArquiteturaAbertaPrimeiraediReferenceguideforRTLunitsDocumentversion3.2TemplateMetaprogrammingTypeTraits手册v2一本开源指令指令集指南ProgrammerGuideFreePascalVersionHaskell2010