While here, centralize the macros in <x86/fpu.h>.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 53902 Build 50793: arc lint + arc unit
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(). |