Changeset 24c394b in mainline for kernel/arch/ia32/src/fpu_context.c


Ignore:
Timestamp:
2014-09-09T18:32:24Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
15b6715
Parents:
5301662
Message:

Use directly the fpu member of the fpu_context_t in the "m" constraint.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/fpu_context.c

    r5301662 r24c394b  
    7272        asm volatile (
    7373                "fnsave %[fctx]"
    74                 : [fctx] "=m" (*fctx)
     74                : [fctx] "=m" (fctx->fpu)
    7575        );
    7676}
     
    8080        asm volatile (
    8181                "frstor %[fctx]"
    82                 : [fctx] "=m" (*fctx)
     82                : [fctx] "=m" (fctx->fpu)
    8383        );
    8484}
     
    8888        asm volatile (
    8989                "fxsave %[fctx]"
    90                 : [fctx] "=m" (*fctx)
     90                : [fctx] "=m" (fctx->fpu)
    9191        );
    9292}
     
    9696        asm volatile (
    9797                "fxrstor %[fctx]"
    98                 : [fctx] "=m" (*fctx)
     98                : [fctx] "=m" (fctx->fpu)
    9999        );
    100100}
Note: See TracChangeset for help on using the changeset viewer.