OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [bmi-6.c] - Blame information for rev 717

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O2 -mbmi" } */
3
 
4
#include <x86intrin.h>
5
 
6
/* Test that a constant operand 0 to tzcnt gets folded.  */
7
extern void link_error(void);
8
int main()
9
{
10
  if (__tzcnt_u16(0) != 16)
11
    link_error();
12
  return 0;
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.