# US 2026/0064469 A1 · Electronic device and method for managing floating-point unit resources

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0064469 A1
- Document ID: US20260064469A1
- Status: Published application
- Kind: A1
- Application number: 19/314,014
- Filed: 2025-08-29
- Published: 2026-03-05
- Earliest claimed: 2024-08-29
- Assignees: Sigmastar Technology Ltd.
- Applicants: Sigmastar Technology Ltd.
- Inventors: CHING-CHUAN YANG; Shu Cheng Chou; Cheng-Chi Huang
- Web page: https://patentgrep.com/patent/US20260064469A1

## CPC

- G06F 9/461: {Saving or restoring of program or task context}
- G06F 9/5016: {the resource being the memory}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for managing a floating-point unit (FPU) resource is applied to an electronic device. The electronic device includes a computing circuit and a memory. The memory stores a first variable and a second variable. The computing circuit includes an FPU. The FPU comprises an FPU register. The computing circuit operates in one of a first state, a second state, and a third state. The management method includes the following steps: (A) setting the first variable to point to an address of the second variable when the computing circuit switches from the first state to the second state, and the first variable is in an initial state; (B) filling the FPU register with an FPU context of the second variable; and (C) controlling the computing circuit to switch to the second state.

## Claims

### Claim 1

An electronic device, comprising:
a computing circuit, wherein the computing circuit comprises a floating-point unit (FPU), the FPU comprises an FPU register, and the computing circuit operates in one of a first state, a second state, and a third state; and
a memory configured to store a first variable and a second variable;
wherein when the computing circuit switches from the first state to the second state, and the first variable is in an initial state, the computing circuit performs following steps:
(A) setting the first variable to point to an address of the second variable; and
(B) filling the FPU register with an FPU context of the second variable.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein when the first variable is not in the initial state, and the first variable does not point to the address of the second variable, the computing circuit saves a content of the FPU register to a task control block (TCB) of a task pointed to by the first variable; wherein the task belongs to the first state, and the TCB is stored in the memory.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein when the computing circuit switches from the second state to the first state, the computing circuit turns off the FPU.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the computing circuit sets the first variable to point to a current task when the computing circuit operates in the first state, and the current task uses the FPU.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the FPU context is a first FPU context, the computing circuit executes a previous task before executing the current task, the computing circuit further saves a content of the FPU register to a first TCB of the previous task, and fills the FPU register with a second FPU context of a second TCB of the current task.

### Claim 6 (depends on 4)

The electronic device of claim 4, wherein the computing circuit executes a previous task before executing the current task, and when the computing circuit switches from the previous task to the current task, the computing circuit turns off the FPU.

### Claim 7 (depends on 1)

The electronic device of claim 1, wherein step (A) and step (B) are executed in the third state, and a third authority of the third state is higher than a first authority of the first state and a second authority of the second state.

### Claim 8

A management method for a floating-point unit (FPU) resource, applied to an electronic device comprising a computing circuit and a memory that stores a first variable and a second variable, wherein the computing circuit comprises an FPU that comprises an FPU register, and the computing circuit operates in one of a first state, a second state, and a third state, the management method comprising:
(A) setting the first variable to point to an address of the second variable when the computing circuit switches from the first state to the second state, and the first variable is in an initial state;
(B) filling the FPU register with an FPU context of the second variable; and
(C) controlling the computing circuit to switch to the second state.

### Claim 9 (depends on 8)

The management method of claim 8 further comprising:
(D) saving a content of the FPU register to a task control block (TCB) of a task pointed to by the first variable when the first variable is not in the initial state, and the first variable does not point to the address of the second variable;
wherein the task belongs to the first state, and the TCB is stored in the memory.

### Claim 10 (depends on 8)

The management method of claim 8 further comprising:
(D) turning off the FPU when the computing circuit switches from the second state to the first state.

### Claim 11 (depends on 8)

The management method of claim 8 further comprising:
(D) setting the first variable to point to a current task when the computing circuit operates in the first state, and the current task uses the FPU.

### Claim 12 (depends on 11)

The management method of claim 11, wherein the FPU context is a first FPU context, the computing circuit executes a previous task before executing the current task, and the management method further comprises:
(E) saving a content of the FPU register to a first TCB of the previous task; and
(F) filling the FPU register with a second FPU context of a second TCB of the current task.

### Claim 13 (depends on 11)

The management method of claim 11, wherein the computing circuit executes a previous task before executing the current task, and the management method further comprises:
(E) turning off the FPU when the computing circuit switches from the previous task to the current task.

### Claim 14 (depends on 8)

The management method of claim 8, wherein step (A), step (B), and step (C) are executed in the third state, and a third authority of the third state is higher than a first authority of the first state and a second authority of the second state.

### Claim 15

A management method for a floating-point unit (FPU) resource, applied to an electronic device comprising a computing circuit and a memory that stores a first variable and a second variable, wherein the computing circuit comprises an FPU that comprises an FPU register, and the computing circuit operates in one of a first state, a second state, and a third state, the management method comprising:
(A) saving a content of the FPU register to a task control block (TCB) of a task pointed to by the first variable when the first variable is not in an initial state, and the first variable does not point to an address of the second variable;
wherein the task belongs to the first state, and the TCB is stored in the memory.

### Claim 16 (depends on 15)

The management method of claim 15 further comprising:
(B) turning off the FPU when the computing circuit switches from the second state to the first state.

### Claim 17 (depends on 15)

The management method of claim 15 further comprising:
(B) setting the first variable to point to a current task when the computing circuit operates in the first state, and the current task uses the FPU.
