<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SIMD |</title><link>https://www.jaelgareau.com/en/tags/simd/</link><atom:link href="https://www.jaelgareau.com/en/tags/simd/index.xml" rel="self" type="application/rss+xml"/><description>SIMD</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-US</language><lastBuildDate>Wed, 06 May 2026 00:00:00 +0000</lastBuildDate><image><url>https://www.jaelgareau.com/media/icon_hu_e954ec168906b2f9.png</url><title>SIMD</title><link>https://www.jaelgareau.com/en/tags/simd/</link></image><item><title>Converting an Integer to a Decimal String in Under Two Nanoseconds</title><link>https://www.jaelgareau.com/en/publication/gareau_lemire-spe26/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><guid>https://www.jaelgareau.com/en/publication/gareau_lemire-spe26/</guid><description/></item><item><title>Number to Decimal String Conversion</title><link>https://www.jaelgareau.com/en/project/numeric/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><guid>https://www.jaelgareau.com/en/project/numeric/</guid><description>&lt;p&gt;Converting numbers to decimal strings is a fundamental yet often overlooked
operation. It occurs whenever numerical data is displayed, logged, exported to
text formats such as JSON or CSV, or exchanged between systems. Even when
computations are performed in binary, we typically need to produce a readable,
compact, and exact decimal representation.&lt;/p&gt;
&lt;p&gt;This project brings together work on two complementary families of conversions.
The first concerns &lt;strong&gt;binary floating-point numbers&lt;/strong&gt;, where the goal is to
produce a short decimal string that recovers the exact original value when read
back. We empirically compare modern algorithms such as Schubfach and Dragonbox
against more classical approaches such as Dragon4 across several hardware
architectures.&lt;/p&gt;
&lt;p&gt;The second concerns &lt;strong&gt;binary integers&lt;/strong&gt;, where the main challenge is conversion
speed. We study methods that exploit SIMD parallelism, especially AVX-512 IFMA
instructions, to convert integers to decimal strings in under two nanoseconds in
some scenarios. These techniques avoid large lookup tables and compute several
digits in parallel.&lt;/p&gt;
&lt;p&gt;In both cases, the goal is to better understand the trade-offs between accuracy,
the length of the produced strings, portability, and performance. This work aims
to guide the optimization of numerical libraries, programming languages, and
systems where number serialization is performance-critical.&lt;/p&gt;</description></item></channel></rss>