(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
bpf/
helper-get-smp-processor-id.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-std=gnu99" } */
       3  
       4  #include <stdint.h>
       5  #include <bpf-helpers.h>
       6  
       7  void
       8  foo ()
       9  {
      10    uint32_t ret;
      11  
      12    ret = bpf_get_smp_processor_id ();
      13  }
      14  
      15  /* { dg-final { scan-assembler "call\t8" } } */