varshift.c 1.0 KB

1234567891011121314151617181920212223242526
  1. /* Hook for build varshift for non-multiarch build. Needed for the
  2. ISA level >= 2 because strspn-sse4, strcspn-sse4, and strpbrk-sse4
  3. all have a dependency on varshift.c.
  4. Copyright (C) 2022-2026 Free Software Foundation, Inc.
  5. This file is part of the GNU C Library.
  6. The GNU C Library is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU Lesser General Public
  8. License as published by the Free Software Foundation; either
  9. version 2.1 of the License, or (at your option) any later version.
  10. The GNU C Library is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. Lesser General Public License for more details.
  14. You should have received a copy of the GNU Lesser General Public
  15. License along with the GNU C Library; if not, see
  16. <https://www.gnu.org/licenses/>. */
  17. #include <isa-level.h>
  18. #if MINIMUM_X86_ISA_LEVEL >= 2
  19. # include "multiarch/varshift.c"
  20. #endif