发明名称 Device and method for performing conditional bitwise set/clear/toggle manipulations in a general purpose register
摘要 A device and a method for performing bitwise manipulation is provided. Multiple bitwise logic circuits are coupled to an instruction decoder, a register array and a rotator. Each bitwise logic circuit includes input multiplexers connected to an output multiplexer. The instruction decoder receives a bit manipulation instruction and sends to each corresponding input multiplexer a control signal based on a type of the instruction. Each input multiplexer of each bitwise logic circuit receives a control signal, a constant signal that has a value that is indifferent to the value of the mask, and a mask affected signal that has a value that is responsive to a value of an associated mask bit. Each input multiplexer selects between the constant signal and the mask affected signal based on the control signal, and outputs a selected signal. Each output multiplexer receives selected signals from each of the corresponding input multiplexers, and elects between the selected signal based on a value of an associated manipulated register bit and based on a value an associated control register bit.
申请公布号 US9135008(B2) 申请公布日期 2015.09.15
申请号 US200913392925 申请日期 2009.09.24
申请人 Freescale Semiconductor, Inc. 发明人 Ginzburg Evgeni;Guy Keren;Katz Adi
分类号 G06F9/30 主分类号 G06F9/30
代理机构 代理人
主权项 1. A device, comprising: an instruction decoder configured to: receive a bit manipulation instruction; andsend a set of control signals based on a type of the bit manipulation instruction; and multiple bitwise logic circuits, each bitwise logic circuit being coupled to the instruction decoder, wherein: each bitwise logic circuit comprises one or more input multiplexers, each input multiplexer including a control input coupled to the instruction decoder a first data input, a second data input, and a data output coupled to an output multiplexer; and each bitwise logic circuit is associated with manipulated register bits, mask bits, and control register bits that are different from other manipulated register bits, other mask bits, and other control register bits associated with each other bitwise logic circuit; wherein each input multiplexer of each bitwise logic circuit is configured to: receive one of the control signals at the control input, receive a constant signal at the first data input, wherein the constant signal has a value that is indifferent to a value of a mask, and receive a mask affected signal at the second data input, wherein the mask affected signal has a value that is responsive to a value of an associated mask bit;select between the constant signal and the mask affected signal based on the control signal; andoutput a selected signal; and wherein each output multiplexer is configured to: receive the selected signal from each of the input multiplexers;select between the selected signals based on a value of the associated manipulated register bits and based on a value of the associated control register bits; andoutput an output signal.
地址 Austin TX US