Kim Phillips
aa42c69c67
[POWERPC] Add support for FP emulation for the e300c2 core
...
The e300c2 has no FPU. Its MSR[FP] is grounded to zero. If an attempt
is made to execute a floating point instruction (including floating-point
load, store, or move instructions), the e300c2 takes a floating-point
unavailable interrupt.
This patch adds support for FP emulation on the e300c2 by declaring a
new CPU_FTR_FP_TAKES_FPUNAVAIL, where FP unavail interrupts are
intercepted and redirected to the ProgramCheck exception path for
correct emulation handling.
(If we run out of CPU_FTR bits we could look to reclaim this bit by adding
support to test the cpu_user_features for PPC_FEATURE_HAS_FPU instead)
It adds a nop to the exception path for 32-bit processors with a FPU.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
Signed-off-by: Kumar Gala <galak@kernel.crashing.org >
2006-12-08 02:43:30 -06:00
..
2006-10-25 11:54:07 +10:00
2006-10-25 11:54:18 +10:00
2006-06-09 21:24:15 +10:00
2006-10-16 16:31:36 +10:00
2006-09-11 13:32:30 -04:00
2006-06-30 19:25:36 +02:00
2006-11-01 14:52:48 +11:00
2006-09-11 13:32:30 -04:00
2006-06-30 19:25:36 +02:00
2006-10-16 16:32:25 +10:00
2006-12-08 02:43:30 -06:00
2006-08-08 17:07:04 +10:00
2006-12-07 08:39:46 -08:00
2006-12-04 20:38:59 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:41:31 +11:00
2006-06-30 19:25:36 +02:00
2006-08-30 14:45:35 +10:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-12-08 02:43:30 -06:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:41:31 +11:00
2006-02-10 16:51:50 +11:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:42:09 +11:00
2006-06-30 19:25:36 +02:00
2006-10-16 16:31:36 +10:00
2006-10-25 14:20:22 +10:00
2006-10-02 07:57:20 -07:00
2006-12-04 20:39:05 +11:00
2006-12-04 20:39:05 +11:00
2006-12-04 20:38:40 +11:00
2006-12-04 20:39:20 +11:00
2006-12-07 08:39:38 -08:00
2006-06-30 19:25:36 +02:00
2006-08-25 14:56:07 +10:00
2006-08-01 16:19:15 +10:00
2006-01-09 15:06:06 +11:00
2006-06-26 18:57:34 +02:00
2006-08-25 14:56:07 +10:00
2006-08-17 16:41:10 +10:00
2006-12-04 20:42:03 +11:00
2006-10-25 11:42:10 +10:00
2006-10-25 11:42:10 +10:00
2006-09-20 14:06:18 +10:00
2006-10-25 11:54:13 +10:00
2006-10-25 11:54:13 +10:00
2006-04-29 18:08:05 +10:00
2006-12-05 11:34:37 +11:00
2006-12-04 20:40:17 +11:00
2006-08-08 17:08:56 +10:00
2006-12-04 20:42:11 +11:00
2006-12-04 20:42:09 +11:00
2006-07-31 15:55:04 +10:00
2006-11-01 14:52:48 +11:00
2005-11-03 16:03:28 +11:00
2006-10-16 16:31:36 +10:00
2006-06-30 19:25:36 +02:00
2006-10-16 15:53:30 +10:00
2006-12-04 20:41:53 +11:00
2006-12-04 20:41:49 +11:00
2006-12-04 20:40:16 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-09-26 15:24:34 +10:00
2006-12-07 08:39:25 -08:00
2006-12-04 20:39:05 +11:00
2006-07-31 15:55:04 +10:00
2006-06-09 21:21:06 +10:00
2006-12-04 20:39:29 +11:00
2005-09-26 16:04:21 +10:00
2006-12-04 20:40:16 +11:00
2006-12-04 20:40:16 +11:00
2006-10-04 14:52:22 +10:00
2006-05-19 15:02:12 +10:00
2006-12-07 08:39:27 -08:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:42:09 +11:00
2006-10-25 14:20:22 +10:00
2006-09-26 08:49:01 -07:00
2006-12-04 20:41:19 +11:00
2006-10-02 07:57:21 -07:00
2006-12-07 02:14:10 +01:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:39:15 +11:00
2006-12-08 02:43:30 -06:00
2006-07-26 01:27:13 +10:00
2006-06-30 19:25:36 +02:00
2006-12-07 08:39:24 -08:00
2005-09-21 19:21:07 +10:00
2006-06-30 19:25:36 +02:00
2006-12-04 20:38:40 +11:00
2006-12-07 02:14:04 +01:00