Skip to content

fix(val): On val/src/val_libc.c, val_memcpy: - #658

Merged
chetan-rathore merged 1 commit into
ARM-software:release/sbsa/v8.0.3from
anishnair-arm:v803
Oct 23, 2026
Merged

chetan-rathore merged 1 commit into
ARM-software:release/sbsa/v8.0.3from
anishnair-arm:v803

Conversation

@anishnair-arm

Copy link
Copy Markdown
Contributor

This optimized path copies in native-word chunks when source and destination have compatible alignment.

Used a GCC/Clang may_alias word type for the word-at-a-time
val_memcpy path instead of dereferencing raw uintptr_t pointers.
This keeps the fast copy path while avoiding strict-aliasing issues.

Change-Id: I2348667aba6737403c237cfa8b69d6aab291b722

  This optimized path copies in native-word chunks when source and destination have compatible alignment.

  Used a GCC/Clang may_alias word type for the word-at-a-time
  val_memcpy path instead of dereferencing raw uintptr_t pointers.
  This keeps the fast copy path while avoiding strict-aliasing issues.

  Change-Id: I688de9e98ed1f85806ec3fbdb9a067ce0166ae06

Change-Id: I2348667aba6737403c237cfa8b69d6aab291b722
@chetan-rathore
chetan-rathore merged commit fa59aec into ARM-software:release/sbsa/v8.0.3 Oct 23, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants