-
公开(公告)号:US20130321289A1
公开(公告)日:2013-12-05
申请号:US13486562
申请日:2012-06-01
申请人: John Stanley DUBERY , Paul HESLOP , Yahya YASSIN
发明人: John Stanley DUBERY , Paul HESLOP , Yahya YASSIN
IPC分类号: G06F3/041
CPC分类号: G06F3/041 , G06F3/0416 , G06F3/044 , G06F7/57 , G06F9/3885 , G06F2203/04101
摘要: In one embodiment, a method comprises detecting, by a hardware accelerator, that a value has been written to a first location of a memory, the first location identified by a first address. The method further includes adding the value to an accumulated value stored in an accumulator register of the hardware accelerator and storing the result in the accumulator register. The method further includes comparing the value to a maximum value stored in a first register of the hardware accelerator and overwriting the maximum value with the value if the value is greater than the maximum value. The method also includes comparing the value to a minimum value stored in a second register of the hardware accelerator and overwriting the minimum value with the value if the value is less than the minimum value.
摘要翻译: 在一个实施例中,一种方法包括通过硬件加速器检测已经将值写入存储器的第一位置,第一位置由第一地址识别。 该方法还包括将值加到存储在硬件加速器的累加器寄存器中的累加值,并将结果存储在累加器寄存器中。 所述方法还包括将所述值与所述硬件加速器的第一寄存器中存储的最大值进行比较,并且如果所述值大于所述最大值,则用所述值重写所述最大值。 该方法还包括将该值与存储在硬件加速器的第二寄存器中的最小值进行比较,并且如果该值小于该最小值,则用该值重写该最小值。