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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [dspr2-MULTU.c] - Blame information for rev 704

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

Line No. Rev Author Line
1 691 jeremybenn
/* Test MIPS32 DSP REV 2 MULTU instruction.  Tune for a CPU that has
2
   pipelined multu.  */
3
/* { dg-do compile } */
4
/* { dg-options "-mgp32 -mdspr2 -O2 -mtune=74kc" } */
5
 
6
/* See PR target/51729 for the reason behind the XFAILs.  */
7
/* { dg-final { scan-assembler "\tmultu\t" } } */
8
/* { dg-final { scan-assembler "ac1" { xfail *-*-* } } } */
9
/* { dg-final { scan-assembler "ac2" { xfail *-*-* } } } */
10
 
11
typedef unsigned long long a64;
12
 
13
NOMIPS16 a64 test (a64 *a, unsigned int *b, unsigned int *c)
14
{
15
  a[0] = (a64) b[0] * c[0];
16
  a[1] = (a64) b[1] * c[1];
17
}

powered by: WebSVN 2.1.0

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