Search found 3 matches

by hankin
2021-12-20, 11:36:13
Forum: Agner's CPU blog
Topic: ARMV8 fundamental data type atomicity
Replies: 2
Views: 49915

Re: ARMV8 fundamental data type atomicity

I have done some research about this topic. For aligned fundamental data type, it is atomic to access. In the document《Arm® Architecture Reference Manual Armv8, for A-profile architecture》, it is called single-copy atomic.
by hankin
2021-12-20, 9:03:58
Forum: Agner's CPU blog
Topic: INTEL X86,why do align access and non-align access have same performance?
Replies: 1
Views: 45274

INTEL X86,why do align access and non-align access have same performance?

From INTEL CPU manual, it says "nonaligned data accesses will seriously impact the performance of the processor". Then I do a test in order to prove it. But the result is that aligned and nonaligned data accesses have the same performance. Why??? Could someone help? My code is shown below: #include ...
by hankin
2021-12-10, 16:34:48
Forum: Agner's CPU blog
Topic: ARMV8 fundamental data type atomicity
Replies: 2
Views: 49915

ARMV8 fundamental data type atomicity

As we know, access aligned fundamental data types in INTEL X86 architecture is atomic. How about ARMV8? I have tried to get the result from Arm Architecture Reference Manual Armv8, for A-profile architecture, I did find something related to atomicity. ARMV8 is other-multi-copy atomic. It promises th...