~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to frmts/png/libpng/pnggccrd.c

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
png_dummy_mmx_support(void)
18
18
{
19
19
   int result;
20
 
#if defined(PNG_MMX_CODE_SUPPORTED)  // superfluous, but what the heck
 
20
#ifdef PNG_MMX_CODE_SUPPORTED  // superfluous, but what the heck
21
21
    __asm__ __volatile__ (
22
 
#if defined(__x86_64__)
 
22
#ifdef __x86_64__
23
23
        "pushq %%rbx          \n\t"  // rbx gets clobbered by CPUID instruction
24
24
        "pushq %%rcx          \n\t"  // so does rcx...
25
25
        "pushq %%rdx          \n\t"  // ...and rdx (but rcx & rdx safe on Linux)
71
71
    "0:                       \n\t"  // .NOT_SUPPORTED: target label for jump instructions
72
72
        "movl $0, %%eax       \n\t"  // set return value to 0
73
73
    "1:                       \n\t"  // .RETURN: target label for jump instructions
74
 
#if defined(__x86_64__)
 
74
#ifdef __x86_64__
75
75
        "popq %%rdx           \n\t"  // restore rdx
76
76
        "popq %%rcx           \n\t"  // restore rcx
77
77
        "popq %%rbx           \n\t"  // restore rbx