hw_x86_64: remove aligment attribute from FPU context

We do not ensure that the Fpu::Context is 16-byte aligned and,
therefore, should not tell the compiler that we did. Otherwise, the GCC
may optimize operations regarding the addresses of members as it did for

  if ((addr_t)_fxsave_area & 0xf) ...

With the declared 16-byte alignment the condition will never become
true.
This commit is contained in:
Christian Helmuth 2016-05-19 12:37:03 +02:00
parent 638db70b94
commit 111d74744d

View File

@ -59,7 +59,7 @@ class Genode::Fpu
public:
~Context() { if (_fpu) _fpu->unset(*this); }
} __attribute__((aligned(16)));
};
private: