forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify `idcpu` by moving the `id` including its sign bit in the uppermost 40 of 64 bytes. Use a signed type for `idcpu` This: - simplifies conversions - enable us to judge the `id` sign from the `idcpu` integer representation - make use of compiler optimizations when directly operating on it (e.g., with `*= -1` or `< 0` requests).
- Loading branch information
Showing
1 changed file
with
26 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters