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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [frv/] [all-mdpackh-1.c] - Blame information for rev 816

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

Line No. Rev Author Line
1 317 jeremybenn
/* Test the new (Fujitsu-compatible) __MDPACKH() interface.  */
2
/* { dg-do run } */
3
extern void exit (int);
4
extern void abort (void);
5
 
6
unsigned short x[] = { 0x8765, 0x1234, 0x2222, 0xeeee };
7
 
8
int
9
main ()
10
{
11
  if (__MDPACKH (x[0], x[1], x[2], x[3]) != 0x876522221234eeeeULL)
12
    abort ();
13
  if (__MDPACKH (0x1111, 0x8001, 0xeeee, 0x7002) != 0x1111eeee80017002ULL)
14
    abort ();
15
  exit (0);
16
}

powered by: WebSVN 2.1.0

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