Ignore:
Timestamp:
2014-08-25T23:03:50Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c635d6, 3ab2d1e
Parents:
6dbe7f68
Message:

Experimental support for hard-floats on ppc32.

  • By default disabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/arch/fpu_context.h

    r6dbe7f68 rdf7f5cea  
    3636#define KERN_ppc32_FPU_CONTEXT_H_
    3737
     38#define FPU_CONTEXT_ALIGN       8       
     39
    3840#include <typedefs.h>
    3941
    4042typedef struct {
     43        uint64_t fr0;
     44        uint64_t fr1;
     45        uint64_t fr2;
     46        uint64_t fr3;
     47        uint64_t fr4;
     48        uint64_t fr5;
     49        uint64_t fr6;
     50        uint64_t fr7;
     51        uint64_t fr8;
     52        uint64_t fr9;
     53        uint64_t fr10;
     54        uint64_t fr11;
     55        uint64_t fr12;
     56        uint64_t fr13;
    4157        uint64_t fr14;
    4258        uint64_t fr15;
     
    5773        uint64_t fr30;
    5874        uint64_t fr31;
    59         uint32_t fpscr;
     75        uint64_t fpscr;
    6076} __attribute__ ((packed)) fpu_context_t;
    6177
Note: See TracChangeset for help on using the changeset viewer.