hotislandn

Results 5 comments of hotislandn

Yes, the 2nd way seems enough for this case. e.g., do a float to int conversion, or store a float element to mem, after checking the code generation and evaluating...

we will give it a try to move things like "fpu->sp1 = sp1" to the new positon: after usleep().

> Since the FPU state is stored in the interrupt stack frame, isn't the issue more generic with lazy context switching? In fact, the context switch during the usleep() call...

> @hotislandn > > I'm not sure if your issue relates to the following issue. [#6134 (comment)](https://github.com/apache/incubator-nuttx/pull/6134#issuecomment-1109173828) The root cause is different. However, the suggestion of a new API to...

> > In fact, the context switch during the usleep() call does NOT save the FPU regs in TCB since FS is 2 at that time. > > Now we...