<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3676" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=983460123-21042010><FONT face=Arial size=2>I have done some
optimization in NEON (Neon/VFP sharing the same register set) and using it in my
driver running in (Linux) kernel space. The neon optimized code will be used
under a work queue context and not under any interrupt. </FONT></SPAN><SPAN
class=983460123-21042010><FONT face=Arial size=2>Going by the design of Linux
kernel, it looks like there is no context save and restore on VFP registers
whenever there is a context switch from user mode to kernel mode,
but Linux handles the same for user space processes.</FONT></SPAN></DIV>
<DIV><SPAN class=983460123-21042010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=983460123-21042010><FONT face=Arial size=2>Currently I am not
seeing any issues (may be lucky) with my implementation (any exceptions)
and was wondering whether it is safe to use of neon code in work queue context?
My development platform is OMAP 3 (ARM cortex A-8) and using Android with
Linux kernel: 2.6.29. </FONT></SPAN><SPAN class=983460123-21042010><FONT
face=Arial size=2></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>-Anbumony, Kasi Lakshman
Karthi</FONT></DIV>
<DIV> </DIV></BODY></HTML>