Skip to content
Snippets Groups Projects
  1. Sep 11, 2024
  2. Jul 30, 2024
  3. Jul 26, 2024
  4. May 24, 2024
  5. May 18, 2024
  6. May 06, 2024
  7. Apr 29, 2024
  8. Apr 24, 2024
  9. Apr 23, 2024
  10. Apr 21, 2024
  11. Apr 20, 2024
  12. Apr 10, 2024
  13. Apr 09, 2024
  14. Apr 08, 2024
  15. Apr 01, 2024
  16. Mar 15, 2024
  17. Mar 14, 2024
  18. Mar 13, 2024
  19. Mar 12, 2024
  20. Mar 11, 2024
    • Rudi Heitbaum's avatar
      Add OPUS_ARM_INLINE_DOTPROD dotprod check · a8e4ebb5
      Rudi Heitbaum authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      fixes:
        ../meson.build:322:9: ERROR: Unknown variable "opus_arm_may_have_dotprod"
      
      after:
        dotprod check passes through.
      
      Checking if "compiler supports gcc-style inline assembly" compiles: YES
      Checking if "assembler supports EDSP instructions on ARM" compiles: YES
      Checking if "assembler supports ARMv6 media instructions on ARM" compiles: YES
      Checking if "assembler supports NEON instructions on ARM" compiles: YES
      Checking if "assembler supports DOTPROD instructions on ARM" compiles: NO
      Program perl found: YES (/usr/bin/perl)
      Fetching value of define "__APPLE__" : (undefined)
      Checking if "compiler supports ARMv7/AArch64 NEON intrinsics" : links: YES
      Checking if "compiler supports AArch64 NEON intrinsics" : links: NO
      Checking if "compiler supports AArch64 NEON intrinsics with -mfpu=neon" : links: NO
      Message: Compiler does not support AArch64 NEON intrinsics
      Checking if "compiler supports AArch64 DOTPROD intrinsics" : links: NO
      Checking if "compiler supports AArch64 DOTPROD intrinsics with -march=armv8.2-a+dotprod" : links: NO
      Message: Compiler does not support AArch64 DOTPROD intrinsics
      
      refer:
      - https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/exploring-the-arm-dot-product-instructions
      
      
      
      test with:
      armv7ve-none-linux-gnueabihf-gcc test.c
      /tmp/cc02sooK.s: Assembler messages:
      /tmp/cc02sooK.s:32: Error: bad instruction `udot v0.4s,v1.16b,v2.16b'
      
      aarch64-none-linux-gnu-gcc test.c
      /tmp/ccnVi9Ec.s: Assembler messages:
      /tmp/ccnVi9Ec.s:12: Error: selected processor does not support `udot v0.4s,v1.16b,v2.16b'
      
      aarch64-none-linux-gnu-gcc -march=armv8.2-a+dotprod test.c
      
      Signed-off-by: default avatarRudi Heitbaum <rudi@heitbaum.com>
      Signed-off-by: default avatarJean-Marc Valin <jmvalin@jmvalin.ca>
      a8e4ebb5
    • Rudi Heitbaum's avatar
      use semicolon not newline for inline assembler · e2d01822
      Rudi Heitbaum authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      
      fixes:
      
      testfile.c:3:11: warning: missing terminating " character
          3 |   __asm__(".arch armv5te
            |           ^
      testfile.c:4:1: error: expected string literal before '.' token
          4 | .object_arch armv4t
            | ^
      testfile.c:5:14: warning: missing terminating " character
          5 | qadd r3,r3,r3");
            |              ^
      
      Signed-off-by: default avatarRudi Heitbaum <rudi@heitbaum.com>
      Signed-off-by: default avatarJean-Marc Valin <jmvalin@jmvalin.ca>
      e2d01822
    • Rudi Heitbaum's avatar
      Extended asm with C operands doesn’t work at top level · 8c439da4
      Rudi Heitbaum authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      fix the following test in the meson.build
      
      stderr:
      testfile.c:6:34: error: expected ')' before '::' token
          6 |__asm__ (""::)
            |        ~  ^~
            |           )
      testfile.c:6:37: error: expected ';' at end of input
          6 |__asm__ (""::)
            |              ^
            |              ;
      -----------
      Checking if "compiler supports gcc-style inline assembly" compiles: NO
      
      refer:
      - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41045
      
      
      
      Signed-off-by: default avatarRudi Heitbaum <rudi@heitbaum.com>
      Signed-off-by: default avatarJean-Marc Valin <jmvalin@jmvalin.ca>
      8c439da4
Loading