URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* PR target/13058 */
|
/* PR target/13058 */
|
/* Origin: Lloyd Parkes <lloyd@must-have-coffee.gen.nz> */
|
/* Origin: Lloyd Parkes <lloyd@must-have-coffee.gen.nz> */
|
/* Reduced testcase by Falk Hueffner <falk@debian.org> */
|
/* Reduced testcase by Falk Hueffner <falk@debian.org> */
|
|
|
/* Verify that the register allocator correctly aligns
|
/* Verify that the register allocator correctly aligns
|
floating-point registers on SPARC64. */
|
floating-point registers on SPARC64. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O" } */
|
/* { dg-options "-O" } */
|
|
|
typedef struct { int ThumbnailSize; } ImageInfo_t;
|
typedef struct { int ThumbnailSize; } ImageInfo_t;
|
|
|
double ConvertAnyFormat(void)
|
double ConvertAnyFormat(void)
|
{
|
{
|
return 0;
|
return 0;
|
}
|
}
|
|
|
void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries)
|
void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries)
|
{
|
{
|
unsigned int ThumbnailSize;
|
unsigned int ThumbnailSize;
|
|
|
for (; NumDirEntries;) {
|
for (; NumDirEntries;) {
|
Get16u();
|
Get16u();
|
switch (NumDirEntries) {
|
switch (NumDirEntries) {
|
case 0x0201:
|
case 0x0201:
|
case 0x0202:
|
case 0x0202:
|
ThumbnailSize = ConvertAnyFormat();
|
ThumbnailSize = ConvertAnyFormat();
|
}
|
}
|
}
|
}
|
|
|
ImageInfoP->ThumbnailSize = ThumbnailSize;
|
ImageInfoP->ThumbnailSize = ThumbnailSize;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.