View Issue Details

IDProjectCategoryView StatusLast Update
0038293FPCRTLpublic2021-01-05 16:16
ReporterWerner Bochtler Assigned ToFlorian  
Status resolvedResolutionwon't fix 
Product Version3.2.0 
Summary0038293: InterlockedCompareExchange64 regarding Int64Rec missing
DescriptionIn defines the packed records Int64Rec and Int128Rec.
rtl/x86_64/cpu.pp provides function InterlockedCompareExchange128 regarding Int128Rec.

Unfortunately there is no InterlockedCompareExchange64 targeting Int64Rec.
TagsNo tags attached.
Fixed in Revision
Attached Files



2021-01-02 20:40

administrator   ~0128031

Actually, Int128Rec is only a pretty bad replacement for the none existing 128 Bit integer type, so I no point in adding a InterlockedCompareExchange64 targeting Int64Rec. Or what is the use case of it which cannot be solved by an Int64 cast?

Werner Bochtler

2021-01-02 21:27

reporter   ~0128032

Obviously the Int64 cast works.
My request/suggestion was for symmetry/cosmetic reasons only to avoid the 4 casts.
Please close if you see no need.

Issue History

Date Modified Username Field Change
2021-01-02 20:03 Werner Bochtler New Issue
2021-01-02 20:40 Florian Note Added: 0128031
2021-01-02 21:27 Werner Bochtler Note Added: 0128032
2021-01-05 16:16 Florian Assigned To => Florian
2021-01-05 16:16 Florian Status new => resolved
2021-01-05 16:16 Florian Resolution open => won't fix
2021-01-05 16:16 Florian FPCTarget => -