URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* This test checks for absolute memory operands. */
|
/* This test checks for absolute memory operands. */
|
/* { dg-require-effective-target nonpic } */
|
/* { dg-require-effective-target nonpic } */
|
/* { dg-options "-O2 -march=k8" } */
|
/* { dg-options "-O2 -march=k8" } */
|
/* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
|
/* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
|
|
|
/* Should be done as "andw $32767, magic". */
|
/* Should be done as "andw $32767, magic". */
|
static unsigned short magic;
|
static unsigned short magic;
|
void t(void)
|
void t(void)
|
{
|
{
|
magic%=(unsigned short)0x8000U;
|
magic%=(unsigned short)0x8000U;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.