You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/06/06 12:26:15 UTC
[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6371: libc:xtensa:arch_memmove: fix warning
pkarashchenko commented on code in PR #6371:
URL: https://github.com/apache/incubator-nuttx/pull/6371#discussion_r890097056
##########
libs/libc/machine/xtensa/arch_memmove.S:
##########
@@ -396,9 +396,6 @@ memmove:
_beqz a4, .Lbackdone # avoid loading anything for zero-length copies
# copy 16 bytes per iteration for word-aligned dst and unaligned src
ssa8 a3 # set shift amount from byte offset
-#define SIM_CHECKS_ALIGNMENT 1 /* set to 1 when running on ISS with
Review Comment:
Could you please put the exact warning you are trying to fix into PR description?
Maybe the other option is to
```
#undef SIM_CHECKS_ALIGNMENT
#define SIM_CHECKS_ALIGNMENT 1
```
The comment to define seems to be reasonable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org