Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.777 Beiträge
 
#1

Turning lowers to uppers without a branch

  Alt 14. Jun 2024, 07:10
In another comment of the Curiouser Case, Arnaud Bouchez pointed to an interesting optimization that is use in mORMot‘s UpperCopy255Buf function: a branchless parallel upper case conversion. At the core of that implementation are the following lines of code c := src[i]; d := c or _80; dest[i] := c - ((d - _61) and…

The post Turning lowers to uppers without a branch first appeared on
  Mit Zitat antworten Zitat