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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40351.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR tree-optimizations/40351 */
2
 
3
struct IO_APIC_route_entry {
4
    unsigned int vector : 8;
5
    unsigned int delivery_mode : 1;
6
    unsigned int mask : 1;
7
    unsigned int __reserved_2 : 15;
8
    unsigned int __reserved_3 : 8;
9
} __attribute__ ((packed));
10
union entry_union {
11
    struct {
12
        unsigned int w1, w2;
13
    };
14
    struct IO_APIC_route_entry entry;
15
};
16
unsigned int io_apic_read(void);
17
struct IO_APIC_route_entry ioapic_read_entry(void)
18
{
19
  union entry_union eu;
20
  eu.w1 = io_apic_read();
21
  return eu.entry;
22
}

powered by: WebSVN 2.1.0

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