US 12,450,009 B2
System and method for predication handling
Timothy David Anderson, University Park, TX (US); Duc Quang Bui, Grand Prairie, TX (US); Joseph Zbiciak, San Jose, CA (US); Sahithi Krishna, Plano, TX (US); Soujanya Narnur, Austin, TX (US); and Alan Davis, Sugar Land, TX (US)
Assigned to TEXAS INSTRUMENTS INCORPORATED, Dallas, TX (US)
Filed by TEXAS INSTRUMENTS INCORPORATED, Dallas, TX (US)
Filed on Jul. 18, 2022, as Appl. No. 17/867,134.
Application 17/867,134 is a continuation of application No. 16/422,250, filed on May 24, 2019, granted, now 11,392,316.
Prior Publication US 2022/0350542 A1, Nov. 3, 2022
Int. Cl. G06F 3/06 (2006.01); G06F 9/30 (2018.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0673 (2013.01); G06F 9/30043 (2013.01); G06F 9/30098 (2013.01); G06F 9/30145 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for writing data to a memory, the method comprising:
for a first iteration of a first loop in a first dimension, receiving a first block of data comprising a plurality of elements;
receiving a total byte count for the first loop;
receiving a width value associated with the first loop;
determining that the total byte count for the first loop exceeds the width value;
disabling a first portion of the first block of data in response to determining that the total byte count exceeds the width value;
enabling a second portion of the first block of data in response to determining that the total byte count exceeds the width value; and
writing only the second portion of the first block of data to the memory.