The application provides an operation circuit and a
microprocessor architecture, which are applied to the technical field of computers, and the circuit comprises a gating circuit and a multiplier. The operation circuit is responsive to a switching
control signal. In a first mode, the operation circuit controls the gating circuit to send a real
operand pair (a, b) into the multiplier for operation. Alternatively, in a second mode, the operation circuit is responsive to the switching
control signal to send a non-zero
mask data pair into the multiplier for operation. In this way, the multiplier has
data input and performs operation in any
clock cycle, that is, the multiplier is continuously in a running state. The
power consumption generated by the running of the multiplier is maintained stable, and differential
power consumption characteristics are not generated. The
side channel attack of an attacker to obtain sensitive information by analyzing the
power consumption characteristics is prevented, the security of the
password operation is improved, and security vulnerabilities are eliminated.