Opened 7 years ago

Closed 7 years ago

#6746 closed enhancement (fixed)

use CPL_SWAPxx() for CPL_SWAPxxPTR()

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

CPL_SWAPxxPTR() macro use a slow method. For Intel, and when not using sanitized mode, we could use the optimized CPL_SWAP() versions

Change History (1)

comment:1 by Even Rouault, 7 years ago

Owner: set to Even Rouault
Resolution: fixed
Status: newclosed

In 36947:

Use CPL_SWAP32/64 to implement CPL_SWAP32/64PTR on Intel arch in default non-sanitization mode (fixes #6746)

Note: See TracTickets for help on using tickets.