[haiku-bugs] Re: [Haiku] #15210: KDL: Unexpected exception "SIMD Floating-Point Exception" occurred in kernel mode!

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 29 Jul 2019 17:30:21 -0000

#15210: KDL: Unexpected exception "SIMD Floating-Point Exception" occurred in
kernel mode!
-----------------------------+----------------------------
   Reporter:  konrad         |      Owner:  nobody
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by tqh):

 Looked it up, saving restoring fp (and simd on 32bit) is so expensive it
 is not done on context switching. Therefore you need to write code that
 save/restore them perfetly on all exit cases and without messing up stack
 order. So it's just something you should avoid. SIMD on 64 bit is fine
 though.

 Havn't looked at our own context-switching though.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15210#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: