Compare commits

..
Author SHA1 Message Date
dependabot[bot] 16cc6f3692 build(deps): bump semgrep from 1.185.0 to 1.186.0 in /cmake/requirements
Bumps [semgrep](https://github.com/semgrep/semgrep) from 1.185.0 to 1.186.0.
- [Release notes](https://github.com/semgrep/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/semgrep/semgrep/compare/v1.185.0...v1.186.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-version: 1.186.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-26 15:43:21 +00:00
3 changed files with 3 additions and 27 deletions

No files matched your search

+1 -1
View File
@@ -1 +1 @@
semgrep==1.185.0
semgrep==1.186.0
+1 -13
View File
@@ -1510,19 +1510,7 @@ class serializer
{
flush();
}
#if defined(__GNUC__) && !defined(__clang__)
std::size_t copy_length = length;
// GCC knows from the test above that the length is below the size of
// the write buffer, and with that bound it may expand the memcpy into
// "rep movsq" (seen with -march=x86-64-v3 and -mtune=generic) instead
// of calling memcpy. For the short runs written here its start-up cost
// is far above that of the call (dump() with ensure_ascii 80 % slower
// on Sapphire Rapids), so hide the bound from the optimizer.
__asm__("" : "+r"(copy_length));
#else
const std::size_t copy_length = length;
#endif
std::memcpy(write_buffer.data() + write_buffer_pos, s, copy_length);
std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
write_buffer_pos += length;
}
+1 -13
View File
@@ -39101,19 +39101,7 @@ class serializer
{
flush();
}
#if defined(__GNUC__) && !defined(__clang__)
std::size_t copy_length = length;
// GCC knows from the test above that the length is below the size of
// the write buffer, and with that bound it may expand the memcpy into
// "rep movsq" (seen with -march=x86-64-v3 and -mtune=generic) instead
// of calling memcpy. For the short runs written here its start-up cost
// is far above that of the call (dump() with ensure_ascii 80 % slower
// on Sapphire Rapids), so hide the bound from the optimizer.
__asm__("" : "+r"(copy_length));
#else
const std::size_t copy_length = length;
#endif
std::memcpy(write_buffer.data() + write_buffer_pos, s, copy_length);
std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
write_buffer_pos += length;
}