Patent ID: 11941404
Assignee: PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 18:
19. A method for controlling a processor, the method comprising:
performing, in accordance with a single instruction, multiplication processing and comparison processing,
wherein the multiplication processing includes obtaining a multiplication result by multiplying together a first data element and a first value,
the comparison processing includes comparing the multiplication result with a second data element,
the first data element is stored in a first register,
the second data element is stored in a second register,
the first value is stored in a third register,
the method further comprises:
performing, in accordance with the single instruction, replacement processing, the replacement processing including replacing, based on a result of the comparison processing, a third data element with a second value,

the third data element is stored in a fourth register, and
the second value is further stored in the third register.