首页> 外国专利> Copying character data having a termination character from one memory location to another

Copying character data having a termination character from one memory location to another

机译:将具有终止字符的字符数据从一个存储位置复制到另一个存储位置

摘要

Copying characters of a set of terminated character data from one memory location to another memory location using parallel processing and without causing unwarranted exceptions. The character data to be copied is loaded within one or more vector registers. In particular, in one embodiment, an instruction (e.g., a Vector Load to block Boundary instruction) is used that loads data in parallel in a vector register to a specified boundary, and provides a way to determine the number of characters loaded. To determine the number of characters loaded (a count), another instruction (e.g., a Load Count to Block Boundary instruction) is used. Further, an instruction (e.g., a Vector Find Element Not Equal instruction) is used to find the index of the first delimiter character, i.e., the first termination character, such as a zero or null character within the character data. This instruction checks a plurality of bytes of data in parallel.
机译:使用并行处理将一组终止字符数据中的字符从一个存储位置复制到另一个存储位置,而不会引起不必要的异常。要复制的字符数据被加载到一个或多个矢量寄存器中。特别地,在一个实施例中,使用了一种指令(例如,矢量加载到块边界指令),该指令将矢量寄存器中的数据并行加载到指定的边界,并提供确定加载的字符数的方法。为了确定加载的字符数(计数),使用了另一条指令(例如,将计数加载到块边界)。此外,使用指令(例如,向量查找元素不相等指令)来查找第一定界符(即,第一终止字符)的索引,例如字符数据内的零或空字符。该指令并行检查多个字节的数据。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号