While here, centralize the macros in <x86/fpu.h>.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/amd64/amd64/fpu.c | ||
---|---|---|
803 | fpu_enable()? |
sys/amd64/amd64/fpu.c | ||
---|---|---|
803 | I chose clts() here due to the comment above explicitly referencing %cr0.TS, but perhaps fpu_enable() is more correct? |
sys/amd64/amd64/fpu.c | ||
---|---|---|
803 | I do not think the specific name there matters. Perhaps the comment should stop referencing lazy mode. Might be, it is time to remove the workaround as well (I am not too sure about it). |
sys/amd64/amd64/fpu.c | ||
---|---|---|
803 | I slightly prefer to be consistent and write fpu_enable(). |