Instructions with reserved symbol control

By using a single architectural instruction in hardware registers to perform operations such as moving, truncating, and preserving symbolic code, the problem of inefficient resource utilization and performance degradation caused by in-memory storage in computing environments is solved, resulting in more efficient computing performance and more compact code.

CN123125575APending Publication Date: 2026-11-17INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580027892.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-04-22
Filing Date
2025-04-07
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing technologies for processing signed compressed decimal numbers in computing environments suffer from inefficient resource utilization and performance degradation due to frequent in-memory storage operations.

Method used

A computer program product is provided that uses a single architectural instruction to perform operations to move, truncate, and preserve symbolic code, thereby improving performance by performing these operations in hardware registers and avoiding in-memory storage.

Benefits of technology

By using a single instruction, symbolic code can be efficiently transferred, reducing resource usage, shortening path length, optimizing instruction cache resources, and improving the performance and efficiency of the computing environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123125575A_ABST
    Figure CN123125575A_ABST
Patent Text Reader

Abstract

Execute instructions to obtain a result, which includes an output value and a result symbol code. Perform at least one operation on at least a portion of the source value to provide an output value. The source value is located in a source location, which includes a source location for including the source value and a source symbol location for including the symbol code of the source value. Inspect one or more controls of the instructions, including a reserved symbol control, to determine the result symbol code. The result symbol code is an unmodified symbol code in the source symbol location, based at least on the value of the reserved symbol control being set to enabled. Provide the unmodified symbol code as the result symbol code. Provide a result including the output value and the result symbol code.
Need to check novelty before this filing date? Find Prior Art

Description

Background Technology

[0001] One or more aspects generally involve facilitating processing within a computing environment, and in particular, improving processing within a computing environment.

[0002] Computer programs executing in a computing environment perform operations on data. The data can be in one of several formats. For example, the data can be in a signed, compressed decimal format. In this format, each digit of the decimal number (e.g., 0-9) is encoded as a binary value and stored in a half-byte (e.g., four bits) of a byte (e.g., eight bits). The sign of the decimal number (if any) is stored, for example, in the rightmost half-byte of the rightmost byte of the representation. This sign can be encoded as a binary representation of AF, and multiple codes can be used to represent positive or negative. For example, positive can be represented by A, C, F, and negative by B, D; other examples are possible. Furthermore, there can be default codes for positive and / or negative.

[0003] Operations that can be performed on data such as signed compressed decimal numbers or other data include computational operations, as well as moving or copying data from a source to a destination location. For move or copy operations, the destination location can be the same size as the source location, smaller than the source location (truncate move / copy), or larger than the source location (widen move / copy). Move and truncation (or copy and truncation) operations can be performed to ignore / remove unwanted digits from decimal values, thus providing a result value that can be signed.

[0004] To perform move or copy (and truncate) operations, computer programming languages ​​such as COBOL use generic instructions such as move characters and logical AND instructions to move or copy numbers and truncate unnecessary numbers. These generic instructions are in-memory instructions that require memory to perform the operation.

[0005] Seeking improvements to instructions for manipulating data, including instructions for manipulating signed data, to enhance processing within computing environments. Summary of the Invention

[0006] By providing a computer program product, the shortcomings of the prior art are overcome, and additional advantages are provided. The computer program product includes a collection of one or more computer-readable storage media and program instructions co-stored in the collection of one or more computer-readable storage media. The program instructions are used to cause at least one computing device to perform computer operations, the operations including: obtaining a result of the instructions, the result including an output value and a result symbol code. Executing the instructions includes: performing at least one operation on at least a portion of a source value to provide the output value of the result, the source value being located in a source location, the source location including a source location for including the source value and a source symbol location for including the symbol code of the source value. One or more controls of the instructions to be used in determining the result symbol code are examined. The one or more controls of the instructions include a reserved symbol control. Based at least on the value of the reserved symbol control being set to enabled, the result symbol code is determined to be the unmodified symbol code in the source symbol location of the source location. The unmodified symbol code in the source symbol location of the source location is provided as the result symbol code. The result is provided, the result including the output value and the result symbol code.

[0007] In one aspect, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, for causing at least one computing device to perform computer operations, the operations including: executing instructions to perform one or more operations on a source value included in at least one source register specified by one or more fields using the instructions. The source value includes a plurality of numbers in source numeric locations of the at least one source register and a symbol code in a source symbol location of the at least one source register. Executing the instructions includes: placing a specified number of numbers from the plurality of numbers in the source numeric locations of the at least one source register into a target numeric location of at least one target register, and setting one or more other numbers in the target numeric location to a selected value. Determining a resulting symbol code to be placed in the target symbol location of the at least one target register. The determination includes checking one or more controls of the instructions to be used to determine the resulting symbol code. The one or more controls of the instructions include a reserved symbol control, and at least based on the value of the reserved symbol control being set to enabled, the resulting symbol code placed in the target symbol location of the at least one target register is the unmodified symbol code in the source symbol location. The execution of the instruction provides the output of the instruction, the output including the at least one destination register.

[0008] In one aspect, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, for causing at least one computing device to perform computer operations, the operations including: executing instructions to perform one or more operations on a source value included in at least one source register specified by one or more fields using the instructions. The source value includes a plurality of numbers in source number positions of the at least one source register and a sign code in a source sign position of the at least one source register. Executing the instructions includes: placing a specified number of numbers from the plurality of numbers in the source number positions of the at least one source register into a target number position of at least one target register, and setting one or more other numbers in the target number position to a selected value. A resulting sign code to be placed in the target sign position of the at least one target register is determined. The determination includes checking one or more controls of the instruction to be used to determine the resulting symbol code, the one or more controls of the instruction including a reserved symbol control, and the value of the reserved symbol control being set to indicate that the symbol code is not reserved (disabled). Checking the one or more controls includes checking multiple controls of the instruction to be used to determine the resulting symbol code to be placed in the target symbol location of the at least one target register. Based on the execution of the instruction, an output of the instruction is provided, the output including the at least one target register.

[0009] This document describes and claims protection for computer-implemented methods, computer systems, and computer program products related to one or more aspects. Each embodiment of the computer program product may be an embodiment of each computer system and / or each computer-implemented method, and vice versa. Furthermore, each embodiment is separable from and optional of each other. Moreover, embodiments may be combined with each other. Each embodiment of the computer program product may be combined with aspects and / or embodiments of each computer system and / or computer-implemented method, and vice versa. Additionally, this document also describes and claims protection for services related to one or more aspects.

[0010] Additional features and advantages are achieved through the techniques described herein. Other embodiments and aspects are described in detail herein and are considered part of the claimed aspects. Attached Figure Description

[0011] One or more aspects are specifically pointed out and clearly claimed by way of example in the claims at the end of the specification. The foregoing and objectives, features, and advantages of one or more aspects will become apparent from the following detailed description taken in conjunction with the accompanying drawings: Figure 1An example of a computing environment for incorporating and using one or more aspects of this disclosure is shown; Figure 2 One or more aspects of this disclosure are shown. Figure 1 An instance of further details of the processor set; Figure 3A One or more aspects of this disclosure are shown. Figure 1 An example of a submodule of a module that has instructions for preserving symbol controls; Figure 3B One or more aspects of this disclosure are shown. Figure 3A An example of a submodule of an instruction execution instruction submodule that has a reserved symbol control module; Figure 3C One or more aspects of this disclosure are shown. Figure 3B An instance of a submodule of the execution instruction submodule and the execution operation submodule; Figure 4A An example of the format for performing symbolic manipulation decimal instructions in accordance with one or more aspects of this disclosure is shown; Figure 4B One or more aspects of this disclosure are shown. Figure 4A An example of a control that executes sign-operated decimal instructions on a vector for immediate operands; Figure 4C One or more aspects of this disclosure are shown. Figure 4A An example of a control for another immediate operand of a vector executing sign operations decimal instructions; Figure 4D One or more aspects of this disclosure are shown. Figure 4A An example of a control that performs sign operations on decimal instructions using vectors, masking operands; Figure 4E One or more aspects of this disclosure are shown. Figure 4A An example of an operation table for vector-based sign operations on decimal instructions; Figure 5A An example of performing symbol manipulation instruction processing according to one or more aspects of this disclosure is shown; Figure 5B An example of determining symbol code processing according to one or more aspects of this disclosure is shown; and Figures 6A-6B Another example of a computing environment for incorporating and using one or more aspects of this disclosure is shown. Detailed Implementation

[0012] According to one or more aspects of this disclosure, a capability is provided to facilitate processing within a computing environment. In one aspect, this capability includes facilitating the processing of instructions that perform operations in which a symbolic code is intended to preserve a selected value. In one or more aspects, the selected value is a source value; however, in other aspects, the selected value may differ from the source value. In one example, the symbolic code is a value, such as one or more binary digits, intended to represent a selected value (e.g., the source value). In one or more aspects, the symbolic code is a value (e.g., one or more binary digits) at a specific location within a selected position. As an example, the selected position is a source position; however, the selected position may be a location different from the source position.

[0013] In one or more aspects, preserving the symbol code includes: providing the unmodified symbol code at the source location as the resulting symbol code. The symbol code at the source location is not modified, validity is checked, etc.; it is used as is as the resulting symbol code. In one example, providing the unmodified symbol code at the source location as the resulting symbol code includes: copying the symbol code from the symbol position at the source location (here referred to as the source symbol position) to the symbol position at the target location (here referred to as the target symbol position) without modifying the symbol code. The symbol code at the target symbol position is referred to herein as the resulting symbol code. In another example, providing the unmodified symbol code at the source location as the resulting symbol code includes: moving the symbol code from the source symbol position to the target symbol position without modifying the symbol code. Other examples are possible.

[0014] In one example, the source location is one or more registers (referred to herein as source registers) or other source locations, and the sign location includes one or more bit locations, such as the source location (e.g., a half-byte (e.g., four bits) of a byte (e.g., eight bits)). These one or more bit locations include one or more bits representing the sign code. For example, the sign code for 1100 (e.g., representing a positive sign) includes four bits (e.g., one bit per binary digit), and the four-bit location including these four bits is called the sign location. If the sign location is at the source location, i.e., the location that includes the source value, then for clarity, the sign location is referred to herein as the source sign location. Similarly, if the sign location is at the destination location, i.e., the location that includes the destination value or result, then for clarity, the sign location is referred to herein as the destination sign location. Other examples are possible.

[0015] In one or more aspects, the preservation of symbolic code includes: providing the symbolic code at the source symbolic position to the target symbolic position such that the symbolic code (also known as the symbol's encoding) is passed to the target symbolic position without modification. This includes not modifying or testing the validity of one or more numbers (e.g., binary numbers) of the symbolic code before or after providing the symbolic code at the source symbolic position to the target symbolic position. In one example, if the encoding in the symbolic position of the source value is 1100 (positive), then the source symbolic position at the target symbolic position passes through the exact encoding (1100), even if another encoding of a positive symbolic number (1111 or others) could be used. Other examples are possible.

[0016] In one or more respects, as used herein, a preserved symbol or a preserved symbol code differs from a maintained symbol or a maintained symbol code. Preserving the symbol or the symbol code provides the symbol code in, for example, the source symbol position to, for example, the target symbol position, regardless of what the symbol code's encoding is or whether the encoding is valid, and without modification; and maintaining the symbol or the maintained symbol code indicates that the value of the symbol (e.g., positive, negative) is to be maintained. That is, if the value of the symbol in the source value is positive, then it is positive in the target value; however, the encoding of a positive value in the source value (i.e., the symbol code) may differ from the encoding of a positive value in the target value. For example, when a symbol is maintained, it can be represented by any of a plurality of encodings representing the value of the symbol. As an example, when a positive symbol is maintained, it can be represented by 1100 or 1111; however, when a positive symbol is preserved, the same encoding (e.g., 1100) is used without modification. Other examples are possible.

[0017] An example of an operation that preserves symbolic code is a move and truncation operation, where a portion of a source value (e.g., a portion of a decimal number) is placed at a destination location (e.g., moved or copied to the destination location), and another portion of the source value (e.g., another portion of a decimal number) is truncated while preserving the symbolic code (i.e., lost from the destination location). Truncation means, for example, that the destination location is not large enough to encompass the entire source value. For instance, the specification of the length of the destination location (e.g., in bytes, numbers, etc.) is not large enough to include all possible valid digits or bytes of the source value. The actual truncation may not be based on the data for a particular operation occurring at runtime, but since runtime data is statically unknown, truncation is considered in some way at compile time. Thus, for a fixed-size register (e.g., a vector register as used herein), truncation involves placing a selected value (e.g., zero) at the numeric position in the destination location corresponding to the truncated digit.

[0018] Based on one or more aspects, a single instruction (e.g., a single architecture instruction) is defined and configured to perform data movement operations (placing (e.g., moving, copying) a portion of a source value (e.g., a portion of a decimal number) to a target location (e.g., a result, target register, etc.)), truncation of data (e.g., another portion of the source value is lost from the target location—clearing one or more numeric positions at the target location (e.g., setting them to a selected value, such as zero)), and preservation of the symbolic code of the source value (e.g., passing the symbolic code of the source value to the target location without modifying the symbolic code). Using a single architecture instruction to perform the movement, truncation, and preservation of symbolic code reduces resource usage and improves performance.

[0019] In one or more aspects, a single-architecture instruction uses registers (e.g., hardware registers instead of memory) to perform data movement, data truncation, and preservation of symbolic code. The use of registers to perform these operations by a single-architecture instruction improves performance by avoiding in-memory storage of data during operation processing; moreover, using hardware registers reduces or eliminates latency caused by storing data in and retrieving data from memory.

[0020] In one or more aspects, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, the program instructions being configured to cause at least one computing device to perform computer operations, the operations including: executing the instructions to obtain a result of the instructions, the result including an output value and a result symbol code. Executing the instructions includes: performing at least one operation on at least a portion of a source value to provide the output value of the result. The source value is located in a source location, the source location including a source location for including the source value and a source symbol location for including the symbol code of the source value. One or more controls of the instructions to be used in determining the result symbol code are examined. The one or more controls of the instructions include a reserved symbol control. Based at least on the value of the reserved symbol control being set to enabled, the result symbol code is determined to be an unmodified symbol code in the symbol location of the source location. The unmodified symbol code in the source symbol location of the source location is provided as the result symbol code. A result including the output value and the result symbol code is provided. By providing unmodified symbolic code for the source value, instructions such as a single architectural instruction can pass the symbolic code of the source value to the result without modifying the symbolic code. This provides efficiency when performing pass operations. Executing a single instruction to perform at least one operation and passing the symbolic code saves resources and improves performance. For example, path length is shortened, thus improving performance. Furthermore, using reserved symbol control allows for more compact code, reducing the storage of program text and making more optimized use of scarce instruction cache resources.

[0021] Alternatively or concurrently, in one or more embodiments, providing the symbol code at the source symbol position in the source location as the resulting symbol code includes: copying a plurality of numbers at the source symbol position in the source location as the resulting symbol code. By copying the unmodified symbol code of the source value, an instruction such as a single structured instruction can pass the symbol code of the source value to the result without modifying the symbol code. This provides efficiency when performing the transfer operation, thereby improving performance within the computing environment.

[0022] Alternatively or concurrently, in one or more embodiments, the plurality of numbers comprises a plurality of binary numbers copied from the source symbol position at the source location, regardless of the symbol code and its validity. By copying a plurality of unmodified and unverified binary numbers, instructions such as those of a single architecture can pass the symbol code of a source value to the result without modifying the symbol code. This provides efficiency when performing the pass operation, thereby improving performance within the computing environment.

[0023] Alternatively or concurrently, in one or more embodiments, at least one operation includes a move operation, wherein a selected portion of the source value is placed into a portion of the output value of the result. A single instruction can perform multiple operations, including move operations and the preservation of symbolic code, reducing system resource usage and improving performance.

[0024] Alternatively or concurrently, in one or more embodiments, a further portion of the source value is truncated based on a move operation, as it is lost from the output value. A single instruction can perform multiple operations, including move operations, truncation operations, and preservation of symbolic code, reducing system resource usage and improving performance.

[0025] Alternatively or concurrently, in one or more embodiments, at least one operation further includes a truncation operation, wherein another portion of the source value is missing from the output value and another portion of the output value is set to a selected value. A single instruction can perform multiple operations, including move operations, truncation operations by setting another portion of the output value to a selected value (e.g., zero), and preservation of symbolic code, thereby reducing system resource usage and improving performance.

[0026] Alternatively or concurrently, in one or more embodiments, a selected portion of the source value is a specified number of rightmost digits of the source value. The shift operation includes placing a specified number of rightmost digits of the source value into said portion of the output value, and the truncation operation includes setting another portion of the output value to zero. The resulting output value includes the specified number of rightmost digits of the source value and the other digits set to zero. A single instruction can perform multiple operations, including a shift operation of a specified number of digits, a truncation operation including setting other digits to zero, and the preservation of symbolic code, reducing system resource usage and improving performance.

[0027] Alternatively or concurrently, in one or more embodiments, providing the result includes providing an output value and a result symbol code at a target location. The target location includes a target location for including the output value and a target symbol location for including the result symbol code. Providing the output value and result symbol code using a single instruction offers flexibility and efficiency in the processing of instructions and computational environments. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance.

[0028] Alternatively or concurrently, in one or more embodiments, the source location is at least one register and the destination location is at least one other register. By using registers to perform operations, and by avoiding memory storage, latency is reduced and performance is improved.

[0029] Alternatively or concurrently, in one or more embodiments, one or more controls of the instruction further include a symbol manipulation control, and examining one or more controls of the instruction includes: examining the symbol manipulation values ​​of the reserved symbol control and the symbol manipulation control to determine that the resulting symbol code is the unmodified symbol code in the source symbol location of the source location. Determining the resulting symbol code using multiple controls of a single instruction provides flexibility and efficiency in the processing and computational environment of the instruction. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance.

[0030] Alternatively or concurrently, in one or more embodiments, the symbol operation value is a sustaining operation. Determining the resulting symbol code using multiple controls for a single instruction, including a sustaining symbol control and a symbol operation control with a sustaining operation value, provides flexibility and efficiency in instruction processing and computational environment processing. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance.

[0031] Alternatively or concurrently, in one or more embodiments, the computer operation further includes executing another instance of instructions. Based on executing another instance of instructions and with reserved symbol controls set to an disabled value, examining one or more controls of the instructions includes examining multiple controls of the instructions to be used in determining the resulting symbol code. By providing disabled reserved symbol controls, legacy code can continue to execute and function as expected. Using reserved symbol controls allows for strict compatibility with the behavior of existing compiled code (even if the data being operated on may not conform to a documented specification format) without having to interrupt another valid sequence of instructions using in-register instructions to use multiple less optimized general instructions or having to fall back to even less efficient in-memory instructions. Furthermore, by providing reserved symbol controls in the instructions, enhancements can also be observed when reserved symbol controls are enabled. This provides flexibility without affecting legacy code. Executing a single instruction to perform one or more operations and determining the symbol code saves resources and improves performance.

[0032] Alternatively or concurrently, in one or more embodiments, the instructions include a plurality of controls indicating a sign operation value to be used in determining the sign code of the result, a positive sign code control indicating a selected sign code to be used to represent a positive sign, and a negative zero control indicating whether a negative zero result is permitted. By providing a reserved sign control that is not enabled, conventional code can continue to execute and function as expected. Other controls of the instructions, including the sign operation control, the positive sign code control, and the negative zero control, can function as expected in conventional applications. This provides flexibility and strong compatibility with conventional code.

[0033] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0034] In one or more aspects, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, the program instructions being configured to cause at least one computing device to perform computer operations, the computer operations including: executing the instructions to obtain a result of the instructions, the result including an output value and a result symbol code. Executing the instructions includes: performing at least one operation on at least a portion of a source value to provide the output value of the result. The at least one operation includes a move operation, wherein a selected portion of the source value is placed within a portion of the output value of the result. The source value is located in a source location, and the source location includes a source location for including the source value and a source symbol location for including the symbol code of the source value. One or more controls of the instructions are examined to determine the result symbol code. The one or more controls of the instructions include a reserved symbol control. Based at least on the value of the reserved symbol control being set to enabled, it is determined that the result symbol code is an unmodified symbol code in the source symbol location of the source location. The unmodified symbol code in the source symbol location of the source location is provided as the result symbol code. Providing unmodified symbolic code as the result symbolic code in the source symbol position of the source location includes copying multiple numbers from the source symbol position of the source location as the result symbolic code. Multiple numbers include multiple binary numbers copied from the source symbol position of the source location, regardless of the symbolic code and its validity. A result including the output value and the result symbolic code is provided. By providing unmodified symbolic code of the source value, instructions such as a single architecture instruction can pass the symbolic code of the source value to the result without modifying the symbolic code. This provides efficiency when performing pass operations. Executing a single instruction to perform at least one operation and pass the symbolic code saves resources and improves performance. For example, path length is shortened, thus improving performance. Furthermore, using reserved symbol control allows for more compact code, reducing program text storage and more optimized use of scarce instruction cache resources. By copying multiple unmodified and unverified binary numbers, instructions such as a single architecture instruction can pass the symbolic code of the source value to the result without modifying that symbolic code. A single instruction can perform multiple operations, including move operations and the retention of symbolic code, reducing system resource usage and improving performance.

[0035] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0036] In one or more aspects, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, the program instructions being configured to cause at least one computing device to perform computer operations, the computer operations including: executing the instructions to obtain a result of the instructions, the result including an output value and a result symbol code. Executing the instructions includes: performing at least one operation on at least a portion of a source value to provide the output value of the result. The at least one operation includes a shift operation and a truncation operation, in which a selected portion of the source value is placed into a portion of the output value of the result, and in a truncation operation, another portion of the source value is omitted from the output value, and another portion of the output value is set to a selected value. The selected portion of the source value is a specified number of digits from the rightmost side of the source value. The shift operation includes placing a specified number of rightmost digits from the source value into a portion of the output value, and the truncation operation includes setting bits of another portion of the output value to zero. The output value of the result includes a specified number of rightmost digits from the source value and other digits set to zero. The source value is located in a source location, and the source location includes a source location for including the source value and a source symbol location for including the symbol code of the source value. One or more controls of the instruction are examined to determine the resulting symbol code. The one or more controls of the instruction include a reserved symbol control. Based at least on the value of the reserved symbol control being set to enabled, the resulting symbol code is determined to be an unmodified symbol code in the source symbol position of the source location. The unmodified symbol code in the source symbol position of the source location is provided as the resulting symbol code. Providing the unmodified symbol code in the source symbol position of the source location as the resulting symbol code includes copying multiple numbers from the source symbol position of the source location as the resulting symbol code. The multiple numbers include multiple binary numbers copied from the source symbol position of the source location, regardless of the symbol code and its validity. A result including an output value and the resulting symbol code is provided. By providing the unmodified symbol code of the source value, an instruction such as a single architectural instruction can pass the symbol code of the source value to the result without modifying the symbol code. This provides efficiency when performing a pass operation. Executing a single instruction to perform at least one operation and passing the symbol code saves resources and improves performance. For example, path length is shortened, thereby improving performance. Furthermore, using reserved symbol controls allows for more compact code, reducing the storage of program text and optimizing the use of scarce instruction cache resources. Instructions such as those based on a single architecture can pass the symbol code of a source value to the result without modifying the symbol code, by copying multiple unmodified and unverified binary numbers. A single instruction can perform multiple operations, including move operations and the preservation of symbol code, reducing system resource usage and improving performance.

[0037] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0038] In one or more aspects, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, the program instructions being configured to cause at least one computing device to perform computer operations, the computer operations including executing the instructions to obtain a result comprising an output value and a result symbol code. Executing the instructions includes performing at least one operation on at least a portion of a source value to provide an output value of the result. The at least one operation includes a shift operation and a truncation operation, in which a selected portion of the source value is placed into a portion of the output value of the result, and in a truncation operation, another portion of the source value is omitted from the output value, and another portion of the output value is set to a selected value. The selected portion of the source value is a specified number of digits on the rightmost side of the source value. The shift operation includes placing the specified number of rightmost digits of the source value into a portion of the output value, and the truncation operation includes setting the digits of another portion of the output value to zero. The output value of the result includes the specified number of rightmost digits of the source value and other digits set to zero. The source value is located in a source location, and the source location includes a source location for including the source value and a source symbol location for including the symbol code of the source value. One or more controls of the instruction are examined to determine the resulting symbol code. The one or more controls of the instruction include a reserved symbol control and a symbol operation control. Examining the one or more controls of the instruction includes examining the symbol operation values ​​of the reserved symbol control and the symbol operation control to determine that the resulting symbol code is an unmodified symbol code in the source symbol location of the source location. The determination that the resulting symbol code is an unmodified symbol code in the source symbol location of the source location is based at least on the value of the reserved symbol control being set to enabled. The unmodified symbol code in the source symbol location of the source location is provided as the resulting symbol code. A result including the output value and the resulting symbol code is provided. By providing the unmodified symbol code of the source value, an instruction such as a single architectural instruction can pass the symbol code of the source value to the result without modifying the symbol code. This provides efficiency when performing a pass operation. Executing a single instruction to perform at least one operation and passing the symbol code saves resources and improves performance. For example, path length is shortened, thus improving performance. Furthermore, using the reserved symbol control allows for more compact code, thereby reducing the storage of program text and more optimized use of scarce instruction cache resources. By copying multiple unmodified and unverified binary numbers, instructions such as those based on a single architecture can pass the symbolic code of a source value to the result without modifying the symbolic code. Determining the symbolic code of the result using multiple controls of a single instruction provides flexibility and efficiency in instruction processing and computational environment. Executing a single instruction to perform one or more operations and passing the symbolic code saves resources and improves performance.A single instruction can perform multiple operations, including move operations and symbol code preservation, reducing system resource usage and improving performance.

[0039] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0040] In one or more aspects, a computer system is provided. The computer system includes at least one computing device, a collection of one or more computer-readable storage media, and program instructions co-stored in the collection of one or more computer-readable storage media. The program instructions are configured to cause the at least one computing device to perform computer operations, the computer operations including: executing the instructions to obtain a result of the instructions, the result including an output value and a result symbol code. Executing the instructions includes: performing at least one operation on at least a portion of a source value to provide the output value of the result. The source value is located in a source location, and the source location includes a source location for including the source value and a source symbol location for including the symbol code of the source value. One or more controls of the instructions are examined to determine the result symbol code. The one or more controls of the instructions include a reserved symbol control. Based at least on the value of the reserved symbol control being set to enabled, it is determined that the result symbol code is an unmodified symbol code in the source symbol location of the source location. The unmodified symbol code in the source symbol location of the source location is provided as the result symbol code. A result including the output value and the result symbol code is provided. By providing the unmodified symbol code of the source value, instructions such as a single architectural instruction are able to pass the symbol code of the source value to the result without modifying the symbol code. This provides efficiency when performing pass operations. Executing a single instruction to perform one or more operations and passing symbolic code saves resources and improves performance. For example, path length is shortened, thus improving performance. Furthermore, using reserved symbol control allows for more compact code, reducing the storage of program text and making more optimized use of scarce instruction cache resources.

[0041] Alternatively or concurrently, in one or more embodiments, at least one operation includes a move operation in which a selected portion of the source value is placed in a portion of the resulting output value, and a truncation operation in which another portion of the source value is lost from the output value, and another portion of the output value is set to the selected value. A single instruction can perform multiple operations, including move operations, truncation operations by setting another portion of the output value to the selected value (e.g., zero), and preservation of symbolic code, reducing system resource usage and improving performance.

[0042] Alternatively or concurrently, in one or more embodiments, providing the result includes providing an output value and a result symbol code at a target location. The target location includes a target location for including the output value and a target symbol location for including the result symbol code. The source location is at least one register, and the target location is at least one other register. Providing the output value and result symbol code using a single instruction offers flexibility and efficiency in the processing and computational environment. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance. Using registers to perform operations reduces latency and improves performance by avoiding memory storage.

[0043] Alternatively or concurrently, in one or more embodiments, one or more controls of the instruction further include a symbol manipulation control, and examining one or more controls of the instruction includes examining the symbol manipulation values ​​of the reserved symbol control and the symbol manipulation control to determine that the resulting symbol code is the unmodified symbol code in the source symbol location of the source location. Determining the resulting symbol code using multiple controls of a single instruction provides flexibility and efficiency in the processing and computational environment of the instruction. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance.

[0044] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0045] In one or more aspects, a computer-implemented method is provided. The computer-implemented method includes: executing instructions to obtain a result comprising an output value and a result symbolic code. Executing the instructions includes: performing at least one operation on at least a portion of a source value to provide an output value of the result. The source value is located in a source location, and the source location includes a source location for including the source value and a source symbol location for including the symbolic code of the source value. One or more controls of the instructions are examined to determine the result symbolic code. The one or more controls of the instructions include a reserved symbol control. Based at least on the value of the reserved symbol control being set to enabled, it is determined that the result symbolic code is an unmodified symbolic code in the source symbol location of the source location. The unmodified symbolic code in the source symbol location of the source location is provided as the result symbolic code. A result comprising the output value and the result symbolic code is provided. By providing the unmodified symbolic code of the source value, instructions such as a single structured instruction can pass the symbolic code of the source value to the result without modifying the symbolic code. This provides efficiency when performing a pass operation. Executing a single instruction to perform at least one operation and pass the symbolic code saves resources and improves performance. For example, the path length is shortened, thereby improving performance. Furthermore, using reserved symbol controls allows for more compact code, thereby reducing the storage of program text and making more optimized use of scarce instruction cache resources.

[0046] Alternatively or concurrently, in one or more embodiments, at least one operation includes a move operation in which a selected portion of the source value is placed in a portion of the resulting output value, and a truncation operation in which another portion of the source value is lost from the output value, and another portion of the output value is set to the selected value. A single instruction can perform multiple operations, including move operations, truncation operations by setting another portion of the output value to the selected value (e.g., zero), and preservation of symbolic code, reducing system resource usage and improving performance.

[0047] Alternatively or concurrently, in one or more embodiments, providing the result includes providing an output value and a result symbol code at a target location. The target location includes a target location for including the output value and a target symbol location for including the result symbol code. The source location is at least one register, and the target location is at least one other register. Providing the output value and result symbol code using a single instruction offers flexibility and efficiency in the processing and computational environment. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance. Using registers to perform operations reduces latency and improves performance by avoiding memory storage.

[0048] Alternatively or concurrently, in one or more embodiments, one or more controls of the instruction further include a symbol manipulation control, and examining one or more controls of the instruction includes: examining the symbol manipulation values ​​of the reserved symbol control and the symbol manipulation control to determine that the resulting symbol code is the unmodified symbol code in the source symbol location of the source location. Determining the resulting symbol code using multiple controls of a single instruction provides flexibility and efficiency in the processing and computational environment of the instruction. Executing a single instruction to perform one or more operations and passing the symbol code saves resources and improves performance.

[0049] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0050] In one or more aspects, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, the program instructions being configured to cause at least one computing device to perform computer operations, the computer operations including: executing instructions to perform one or more operations on a source value included in at least one source register specified by one or more fields using the instructions. The source value includes a plurality of numbers in source numeric locations of the at least one source register and a symbol code in a source symbol location of the at least one source register. Executing the instructions includes: placing a specified number of numbers from the plurality of numbers in the source numeric locations of the at least one source register into a target numeric location of at least one target register, and setting one or more other numbers in the target numeric location to a selected value. Determining a resulting symbol code to be placed in the target symbol location of the at least one target register. The determination includes checking one or more controls of the instructions to be used to determine the resulting symbol code. The one or more controls of the instructions include a reserved symbol control, and at least based on the value of the reserved symbol control being set to enabled, the resulting symbol code placed in the target symbol location of the at least one target register is the unmodified symbol code in the source symbol location. Instruction-based execution provides the output of an instruction, which includes at least one destination register. Instructions, such as single architectural instructions, can pass symbolic code of a source value to a result without modifying the symbolic code by providing unmodified symbolic code of the source value. This provides efficiency when performing pass operations. Executing a single instruction to perform one or more operations and passing symbolic code saves resources and improves performance. For example, path length is shortened, thus improving performance. Furthermore, using reserved symbol control allows for more compact code, reducing the storage of program text and making more optimized use of scarce instruction cache resources. Additionally, using registers to perform operations reduces latency and improves performance by avoiding memory storage during operation.

[0051] Alternatively or concurrently, in one or more embodiments, a specified number of numbers is provided in the control of the instructions. By specifying the number of numbers to be moved using the control of the instructions, efficiency is achieved by not relying on memory used for information. This improves processing within computer applications and computing environments.

[0052] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0053] In one or more aspects, a computer program product is provided. The computer program product includes a collection of one or more computer-readable storage media, and program instructions commonly stored in the collection of one or more computer-readable storage media, the program instructions being configured to cause at least one computing device to perform computer operations, the computer operations including: executing instructions to perform one or more operations on source values ​​included in at least one source register specified by one or more fields using the instructions. The source values ​​include a plurality of numbers in source number positions of the at least one source register and a sign code in a source sign position of the at least one source register. Executing the instructions includes: placing a specified number of numbers from the plurality of numbers in the source number positions of the at least one source register into a target number position of at least one target register, and setting one or more other numbers in the target number position to a selected value. Determining a resulting sign code to be placed in the target sign position of the at least one target register. The determination includes examining one or more controls of the instructions to be used to determine the resulting sign code, the one or more controls being used to determine the resulting sign code to be placed in the target position of the at least one target register. One or more controls for an instruction include reserved symbol controls, and setting the value of a reserved symbol control to disabled indicates that the symbol code is not reserved. Checking one or more controls includes examining multiple controls to be used when determining the resulting symbol code for the instruction. Execution of the instruction provides the instruction's output, which includes at least one destination register. By providing a disabled reserved symbol control, traditional code continues to execute and function as expected. However, by providing a reserved symbol control in the instruction, enhancements can also be observed when the reserved symbol control is enabled. This provides flexibility without affecting traditional code. Executing a single instruction to perform one or more operations and determine the symbol code saves resources and improves performance. For example, path length is shortened, thus improving performance. Furthermore, using reserved symbol controls allows for more compact code, reducing the storage of program text and more optimized use of scarce instruction cache resources. Additionally, using registers to perform operations reduces latency and improves performance by avoiding memory storage during operation.

[0054] Alternatively or concurrently, in one or more embodiments, the multiple controls include a sign operation control for indicating the sign operation value to be used in determining the result sign code, a positive code control for indicating the selected sign code to represent a positive sign, and a negative zero control for indicating whether a negative zero result is permitted. Determining the result sign code using multiple controls for a single instruction provides flexibility and efficiency in instruction processing and computational environment. Executing a single instruction to perform one or more operations and passing the sign code saves resources and improves performance.

[0055] According to one or more aspects, each embodiment is separable and optional from each other. Furthermore, embodiments can be combined with each other.

[0056] This document describes and claims protection for computer-implemented methods, computer systems, and computer program products related to one or more aspects. Each embodiment of the computer program product may be an embodiment of each computer system and / or each computer-implemented method, and vice versa. Furthermore, each embodiment is separable from and optional of each other. Furthermore, embodiments may be combined with each other. Each embodiment of the computer program product may be combined with aspects and / or embodiments of each computer system and / or computer-implemented method, and vice versa.

[0057] One or more aspects of this disclosure are incorporated into, executed by, and / or used by a computing environment. As an example, a computing environment can be of various architectures and types, including but not limited to: personal computing, client-server, distributed, virtual, simulation, partitioned, non-partitioned, cloud-based, quantum, grid, time-sharing, clustered, peer-to-peer, wearable, mobile, having one or more nodes, having one or more processors, and / or any other type of environment and / or configuration capable of performing, for example, procedures (or procedures) for symbolic code preservation processing, and / or one or more other aspects of this disclosure. The aspects of this disclosure are not limited to a particular architecture or environment.

[0058] Various aspects of this disclosure are described by narrative text, flowcharts, block diagrams of computer systems, and / or block diagrams of machine logic included in embodiments of a computer program product (CPP). Regarding any flowchart, depending on the technology involved, operations may be performed in a different order than that shown in a given flowchart. For example, again according to the technology involved, two operations shown in consecutive flowchart blocks may be performed in reverse order, as a single integrated step, simultaneously, or in a manner that at least partially overlaps in time.

[0059] Computer Program Product Embodiment (“CPP Embodiment” or “CPP”) is a term used in this disclosure to describe any collection of one or more storage media (also referred to as “media”) collectively included in one or more sets of storage devices, which collectively include machine-readable code corresponding to instructions and / or data for performing computer operations specified in a given CPP claim. A “storage device” is any tangible device capable of holding and storing instructions used by a computer processor. Without limitation, a computer-readable storage medium can be an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, a mechanical storage medium, or any suitable combination of the foregoing. Some known types of storage devices that include these media include: magnetic disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disc (DVD), memory sticks, floppy disks, mechanical encoding devices (such as punch cards or pits / platforms formed in the main surface of the disk), or any suitable combination of the foregoing. Computer-readable storage media, as used in this disclosure, should not be construed as storing transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides, optical pulses transmitted through fiber optic cables, or electrical signals transmitted through wires and / or other transmission media. As those skilled in the art will understand, data is typically moved at certain incidental points in time during the normal operation of the storage device, such as during access, defragmentation, or garbage collection; however, this does not make the storage device transient, because the data is not transient when it is stored.

[0060] Reference Figure 1An example of a computing environment for executing, combining, and / or using one or more aspects of this disclosure is described. In one example, computing environment 100 includes an example of an environment for executing at least some computer code involved in performing the methods of the present invention, such as code or module 150 with reserved symbolic control. In addition to block 150, computing environment 100 includes, for example, a computer 101, a wide area network (WAN) 102, an end-user equipment (EUD) 103, a remote server 104, a public cloud 105, and a private cloud 106. In this embodiment, computer 101 includes a processor set 110 (including processing circuitry 120 and a cache 121), communication infrastructure 111, volatile memory 112, persistent storage device 113 (including an operating system 122 and block 150, as described above), a peripheral device set 114 (including a user interface (UI) device set 123, storage device 124, and an Internet of Things (IoT) sensor set 125), and a network module 115. Remote server 104 includes a remote database 130. Public cloud 105 includes gateway 140, cloud coordination module 141, host physical machine set 142, virtual machine set 143, and container set 144.

[0061] Computer 101 can take the form of a desktop computer, laptop computer, tablet computer, smartphone, smartwatch or other wearable computer, mainframe computer, quantum computer, or any other form of computer or mobile device now known or to be developed in the future capable of running programs, accessing networks, or querying databases such as remote database 130. As is well known in the field of computer technology, and depending on the technology, the performance of a computer-implemented method can be distributed across multiple computers and / or multiple locations. On the other hand, in this presentation of computing environment 100, the detailed discussion focuses on a single computer, specifically computer 101, to keep the presentation as simple as possible. Computer 101 can reside in the cloud, even... Figure 1 The document does not show that the computer 101 is in the cloud; on the other hand, the computer 101 does not need to be in the cloud unless to the extent that can be definitively indicated.

[0062] Processor assembly 110 includes one or more computer processors of any type now known or to be developed in the future. Processing circuitry 120 may be distributed across multiple packages, such as multiple cooperating integrated circuit chips. Processing circuitry 120 may implement multiple processor threads and / or multiple processor cores. Cache 121 is memory located within the processor chip package and is typically used for data or code that should be readily accessible by the threads or cores running on processor assembly 110. Cache memory is typically organized into multiple levels based on its relative proximity to the processing circuitry. Alternatively, some or all of the caches in the processor assembly may be located “off-chip.” In some computing environments, processor assembly 110 may be designed to work with qubits and perform quantum computing.

[0063] Computer-readable program instructions are typically loaded onto computer 101 to cause the processor set 110 of computer 101 to perform a series of operational steps to implement a computer-implemented method, such that the instructions thus executed instantiate the method specified in the flowcharts and / or descriptive descriptions of the computer-implemented method included in this document (collectively, the “method of the invention”). These computer-readable program instructions are stored in various types of computer-readable storage media, such as cache 121 and other storage media discussed below. The program instructions and associated data are accessed by the processor set 110 to control and direct the execution of the computer-implemented method. In computing environment 100, at least some of the instructions for performing the method of the invention may be stored in block 150 of permanent storage device 113.

[0064] Communication structure 111 is a signal transmission path that allows the various components of computer 101 to communicate with each other. Typically, this structure consists of switches and conductive paths, such as switches and conductive paths that form buses, bridges, physical input / output ports, etc. Other types of signal communication paths can be used, such as fiber optic communication paths and / or wireless communication paths.

[0065] Volatile memory 112 is any type of volatile memory now known or to be developed in the future. Examples include dynamic random access memory (RAM) or static RAM. Typically, volatile memory is characterized by random access, but this is not necessary unless explicitly indicated. In computer 101, volatile memory 112 is located in a single package and is internal to computer 101; however, alternatively or additionally, volatile memory may be distributed across multiple packages and / or located externally relative to computer 101.

[0066] The persistent storage device 113 is any form of non-volatile memory known now or developed in the future for use with a computer. The non-volatility of this memory means that the stored data is retained regardless of whether power is supplied to the computer 101 and / or directly to the persistent storage device 113. The persistent storage device 113 may be a read-only memory (ROM), but typically at least a portion of the persistent memory allows data to be written, deleted, and rewritten. Some common forms of persistent memory include hard disks and solid-state storage devices. The operating system 122 may take several forms, such as various known proprietary operating systems or operating systems employing an open-source portable operating system interface type with a kernel. The code included in block 150 typically includes at least some of the computer code involved in performing the methods of the present invention.

[0067] Peripheral device set 114 includes a set of peripheral devices for computer 101. Data communication connections between peripheral devices 114 and other components of computer 101 can be implemented in various ways, such as Bluetooth connectivity, near field communication (NFC) connectivity, connections made by cables (such as Universal Serial Bus (USB) type cables), plug-in connections (e.g., secure digital (SD) cards), connections made through local area communication networks, and even connections made through wide area networks such as the Internet. In various embodiments, UI device set 123 may include components such as displays, speakers, microphones, wearable devices (such as goggles and smartwatches), keyboards, mice, printers, touchpads, game controllers, and haptic devices. Storage device 124 is an external storage device, such as an external hard drive, or a pluggable storage device, such as an SD card. Storage device 124 can be permanent and / or volatile. In some embodiments, storage device 124 may take the form of a quantum computing storage device for storing data in the form of qubits. In embodiments where computer 101 requires substantial storage (e.g., where computer 101 locally stores and manages a large database), this storage can be provided by peripheral storage devices designed to store very large amounts of data, such as a storage area network (SAN) shared by multiple geographically distributed computers. The IoT sensor set 125 comprises sensors that can be used in IoT applications. For example, one sensor could be a thermometer, while another could be a motion detector.

[0068] Network module 115 is a collection of computer software, hardware, and firmware that allows computer 101 to communicate with other computers via WAN 102. Network module 115 may include hardware such as a modem or Wi-Fi transceiver, software for packetizing and / or depacketizing data transmitted over the communication network, and / or web browser software for transmitting data over the Internet. In some embodiments, the network control and network forwarding functions of network module 115 are performed on the same physical hardware device. In other embodiments (e.g., embodiments utilizing software-defined networking (SDN), the control and forwarding functions of network module 115 are performed on physically separate devices, such that the control function manages several different network hardware devices. Computer-readable program instructions for performing computer-implemented methods can typically be downloaded to computer 101 from an external computer or external storage device via a network adapter card or network interface included in network module 115.

[0069] WAN 102 is any wide area network (e.g., the Internet) capable of transmitting computer data over non-local distances using any technology known now or developed in the future for transmitting computer data. In some embodiments, WAN 102 may be replaced by and / or supplemented by a local area network (LAN) designed to transmit data between devices located in a local area (e.g., a Wi-Fi network). WANs and / or LANs typically include computer hardware such as copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and edge servers.

[0070] End User Equipment (EUD) 103 is any computer system used and controlled by an end user (e.g., a customer of the enterprise operating computer 101) and can take any of the forms discussed above in conjunction with computer 101. EUD 103 typically receives useful and available data from the operation of computer 101. For example, assuming computer 101 is designed to provide recommendations to the end user, these recommendations are typically transmitted from network module 115 of computer 101 to EUD 103 via WAN 102. In this way, EUD 103 can display or otherwise present the recommendations to the end user. In some embodiments, EUD 103 can be client equipment, such as a thin client, heavy client, mainframe, desktop computer, etc.

[0071] Remote server 104 is any computer system that provides at least some data and / or functionality to computer 101. Remote server 104 can be controlled and used by the same entity operating computer 101. Remote server 104 represents a machine that collects and stores useful and available data used by other computers, such as computer 101. For example, where computer 101 is designed and programmed to provide recommendations based on historical data, that historical data can be provided to computer 101 from a remote database 130 of remote server 104.

[0072] Public cloud 105 is any computer system that can be used by multiple entities, providing on-demand availability of computer system resources and / or other computing capabilities (especially data storage (cloud storage) and computing power) without direct active management by users. Cloud computing typically leverages resource sharing to achieve scalability consistency and economy. Direct and active management of the computing resources of public cloud 105 is performed by the computer hardware and / or software of cloud coordination module 141. The computing resources provided by public cloud 105 are typically implemented by virtual computing environments running on various computers constituting the host physical machine set 142, which is the entire domain of physical computers in and / or available to public cloud 105. Virtual computing environments (VCEs) typically take the form of virtual machines from virtual machine set 143 and / or containers from container set 144. It should be understood that these VCEs can be stored as images and can be transferred between various physical machine hosts as images or after instantiation of VCEs. The cloud coordination module 141 manages the transfer and storage of images, deploys new instantiations of VCE, and manages active instantiations of VCE deployments. Gateway 140 is a collection of computer software, hardware, and firmware that allows the public cloud 105 to communicate via WAN 102.

[0073] Now, we will provide some further explanation of Virtualized Computing Environments (VCEs). A VCE can be stored as an "image." New active instances of a VCE can be instantiated from this image. Two common types of VCEs are virtual machines and containers. A container is a VCE that uses operating system-level virtualization. This refers to an operating system feature where the kernel allows multiple isolated user-space instances, called containers, to exist. From the perspective of the programs running within them, these isolated user-space instances typically appear as actual computers. Computer programs running on a regular operating system can utilize all the resources of that computer, such as connected devices, files and folders, network shares, CPU power, and quantifiable hardware capabilities. However, programs running within a container can only use the contents of the container and the devices allocated to the container; this is a characteristic known as containerization.

[0074] Private cloud 106 is similar to public cloud 105, except that computing resources are available only to a single enterprise. While private cloud 106 is depicted as communicating with WAN 102, in other embodiments, private cloud may be completely disconnected from the Internet and accessible only via a local / private network. A hybrid cloud is a combination of multiple clouds of different types (e.g., private, community, or public cloud types) typically implemented by different vendors. Each of the multiple clouds remains an independent and discrete entity, but the larger hybrid cloud architecture is bound together by standardization or proprietary technology that enables coordination, management, and / or data / application portability between the multiple component clouds. In this embodiment, public cloud 105 and private cloud 106 are both part of a larger hybrid cloud.

[0075] The computing environment described above is merely one example of a computing environment used in conjunction with, to execute, and / or use one or more aspects of this disclosure. Other examples are possible. For instance, in one or more embodiments, Figure 1 One or more components / modules are not included in the computing environment and / or are not used in one or more aspects of this disclosure. Furthermore, in one or more embodiments, additional and / or other components / modules may be used. Other variations are possible.

[0076] In one example, (e.g., processor set 110) the processor includes multiple functional components (or subsets thereof) for executing instructions. Figure 2 As shown, in one example, processor 200 includes, for example, an instruction fetch component 201 for fetching instructions to be executed; an instruction decode / operand fetch component 202 for decoding the fetched instructions and obtaining operands of the decoded instructions; one or more instruction execution components 204 for executing the decoded instructions; a memory access component 206 for accessing memory as necessary for instruction execution; and a write-back component 208 for providing the results of the executed instructions. One or more components may access and / or use one or more registers 210 during instruction processing. Furthermore, one or more components may access and / or use module 150 with reserved sign control for instructions. Additional, fewer, and / or other components may be used in one or more aspects of this disclosure.

[0077] In one example, according to one or more aspects of this disclosure, a module with instructions having reserved symbol controls is used (e.g., module 150 with instructions having reserved symbol controls). According to one or more aspects of this disclosure, the module with instructions having reserved symbol controls (e.g., module 150 with instructions having reserved symbol controls) includes code or instructions for performing one or more operations on data, said one or more operations including, for example, moving and / or truncating data of source values, and reserved symbol code for source value operations. In one example, the module with instructions having reserved symbol controls (e.g., module 150 with instructions having reserved symbol controls) includes various submodules to be used for performing processing. The submodules are, for example, computer-readable program code (e.g., instructions) in a computer-readable medium, such as a storage device (e.g., persistent storage device 113, cache 121, storage device 124, other storage devices). Computer-readable storage media may be part of one or more computer program products, and computer-readable program code may be executed and / or used by one or more computing devices (e.g., one or more computers, such as computer 101 and / or other computers; one or more servers, such as remote server 104 and / or other remote servers; one or more devices, such as end-user device 103 and / or other end-user devices; one or more processors or nodes, such as processor set 110 (e.g., processor 200) and / or other processors or nodes; processing circuitry, such as processing circuitry 120 of processor set 110 and / or other processing circuitry; and / or other computing devices, etc.). Additional and / or other computers, servers, devices, processors, nodes, processing circuitry, and / or computing devices may be used to execute one or more submodules and / or portions thereof. Numerous examples are possible.

[0078] refer to Figure 3A An example of a module 150 with reserved symbol controls is described. In one example, the module 150 with reserved symbol controls includes an obtain instruction submodule 300 for obtaining (e.g., receiving, being offered, pulling, retrieving, extracting, etc.) an instruction to be executed (such as a symbol operation instruction with symbol passing), and an execute instruction submodule 310 for executing the instruction.

[0079] In one example, reference Figure 3B The instruction execution submodule 310 includes, for example, an operand acquisition submodule 312 for acquiring one or more operands of an instruction; and an operation execution submodule 316 for performing one or more operations on data (e.g., moving or copying numbers, truncating numbers, preserving symbol codes, etc.).

[0080] Reference Figure 3CFurther details of the execution operation submodule 316 are described below. For example, the execution operation submodule 316 includes a move / truncation submodule 320 for moving or copying and / or truncating one or more digits of a source value, such as a decimal value; a symbol code determination submodule 322 for determining the symbol code of the result of the instruction, including retaining the symbol code based on the enablement of control over the instruction; and a result provision submodule 324 for providing the result of the instruction including the determined symbol code. In one or more examples, the move / truncation includes placing (e.g., moving, copying, etc.) a portion of the source value (e.g., a portion of a decimal number) in a target digit position at a target location (e.g., a result, a target register, etc.) and truncating another portion of the source value because it is missing from the target location; conversely, placing a selected value (e.g., zero) in the remaining digits of the digit position at the target location.

[0081] Depending on one or more aspects, the obtained and executed instructions are symbolic operations performed using symbolic pass instructions. A specific example of performing symbolic operations using symbolic pass is performing symbolic decimal instructions on vectors, see [reference]. Figures 4A-4E An example of this is described. In one example, a vector execution symbolic operation decimal instruction, such as vector execution symbolic operation decimal instruction 400, is a hardware machine instruction of a single architecture at the hardware / software interface. As an example, it is part of an instruction set architecture. An example of an instruction set architecture that combines and / or uses vector execution symbolic operation decimal instructions and / or aspects of this disclosure is provided by z / Architecture, International Business Machines Corporation, Armonk, New York. ® Instruction Set Architecture. An embodiment of the z / Architecture instruction set architecture is described in a publication entitled “z / Architecture Principles of Operation” (IBM Publication No. SA22-7832-13, 14th Edition, May 2022), the entire contents of which are incorporated herein by reference. However, the z / Architecture instruction set architecture is merely an example architecture; other architectures and / or other types of computing environments of IBM and / or other entities / companies may include and / or use one or more aspects of this disclosure. z / Architecture and IBM are trademarks or registered trademarks of IBM in at least one jurisdiction.

[0082] In one example, the vector execution of symbolic decimal instructions is part of a vector facility within an instruction set architecture. A vector facility provides vectors of a fixed size, for example, ranging from one to sixteen elements. Each vector includes data to be operated on by vector instructions defined within that facility. In one embodiment, if a vector consists of multiple elements, each element is processed in parallel with the other elements. In one example, instruction completion occurs only after all elements have been processed. In other embodiments, elements are processed in partial parallelism and / or sequentially; and / or additional elements may be present.

[0083] In one embodiment, vector instructions use vector registers that include vectors. For example, each vector register is, for example, 128 bits long and includes one to sixteen elements of equal size. If there are multiple elements in a register, the elements are indexed from left to right, starting with element zero. In one example, the vector facility includes 32 vector registers, which are part of a register file. A register file is an array of processor registers in, for example, a central processing unit (e.g., a processor in processor assembly 110; e.g., processor 200), which includes registers that can be used for instruction processing. In one example, the register file includes vector registers (e.g., 32 vector registers), and other types of registers can be mapped to quadrants of the vector registers. For example, a 64-bit hexadecimal floating-point register can override a vector register. Thus, as an example, when floating-point register 2 is modified, vector register 2 is also modified. Other mappings for other types of registers are also possible.

[0084] Vector data appears in storage, for example, in a left-to-right sequence, similar to other data formats. Bits numbered 0-7 form the leftmost (lowest numbered) byte in memory, bits 8-15 form the next byte in the sequence, and so on. In another example, vector data may appear in storage in a different sequence, such as right-to-left.

[0085] continue Figure 4AIn a particular example, the vector execution sign operation decimal instruction 400 has a vector register and immediate operand operations with extended opcode format. The vector execution sign operation decimal instruction 400 includes multiple fields, including one or more opcode fields 402a (e.g., bits 0-7) and 402b (e.g., bits 40-47) indicating that this is a vector execution sign operation decimal operation; a first operand field (V1) 404 (e.g., bits 8-11) specifying the location of a first operand (e.g., one or more vector registers); a second operand field (V2) 406 (e.g., bits 12-15) specifying the location of a second operand (e.g., one or more vector registers); an immediate field (I4) 408 (e.g., bits 16-23) including one or more controls used during instruction execution; a mask field (M5) 410 (e.g., bits 24-27) available for use during instruction execution; another immediate field (I3) 412 (e.g., bits 28-35) including one or more controls used during instruction execution; and a register extension bit (RXB) field 414. (e.g., bits 36-39) In one example, this field is used in conjunction with the vector register specifying operand fields (e.g., V1, V2) to specify the source and / or destination location (e.g., the vector register) used by the instruction, as described below.

[0086] In one example, the register extension bit (RXB) field 414 includes the most significant bit for the vector register specified operand. Bits for registers not specified by the instruction are reserved and set to zero. The most significant bit is concatenated to the left of a four-bit register specified, such as a vector register field (e.g., V1, V2), to create a five-bit vector register specified.

[0087] In one example, the RXB field consists of four bits (e.g., bits 0-3), and these bits are defined as follows:

[0088] 0 - If present, the most significant bit specified for the vector register in bits 8-11 of, for example, an instruction.

[0089] 1- If present, the most significant bit specified for the vector register is in bits 12-15 of, for example, the instruction.

[0090] 2- If present, the most significant bit specified for the vector register is in bits 16-19 of, for example, the instruction.

[0091] 3- If present, the most significant bit specified for the vector register is in bits 32-35 of, for example, the instruction.

[0092] For example, each bit is set to zero or one by an assembler that depends on the register number. For example, for registers 0-15, the bit is set to 0; for registers 16-31, the bit is set to 1, and so on. Therefore, a four-bit field, such as a register field, is used to specify the register containing the operand, with its corresponding register extension bit (RXB) added as the most significant bit. For example, if the four-bit field is 0110 and the extension bit is 0, then the five-bit field 00110 indicates register number 6. In yet another embodiment, the RXB field includes additional bits, and more than one bit is used as an extension for each vector or location. Furthermore, in other embodiments, the allocation of the RXB bits to the bits of the operand and / or instruction format may differ from the examples herein. Other variations are possible.

[0093] Although multiple opcode fields 402A and 402B are present in this example, a single opcode field may be present in other examples. For example, there may be an opcode field at the beginning of the instruction format. Other examples are also possible. Furthermore, one or more fields of a vector execution of a symbolic decimal instruction (such as vector execution of a symbolic decimal instruction 400) may be optional. As an example, the RXB field 414 may be optional. For example, a vector execution of a symbolic decimal instruction (such as vector execution of a symbolic decimal instruction 400) may not have an RXB field. Alternatively, each vector register may specify an operand field including an indication of the vector register. Many variations are possible.

[0094] Further details relating to one or more fields of the instruction are described below. For example, the immediate field (I3) 412 includes the third operand of the instruction, and references... Figure 4B In one example, it includes:

[0095] Instruction overflow mask 420 (e.g., bit 0): In one example, when, for example, Vector Compressed Decimal Enhancement 1 is not installed, instruction overflow mask 420 is preserved and will include, for example, zero; otherwise, in one example, a specification exception is identified. When, for example, Vector Compressed Decimal Enhancement 1 is installed, bit 0 is the instruction overflow mask. In one example, when instruction overflow mask 420 is, for example, one, identification of decimal overflow procedure interrupts is suppressed. Other examples and / or variations are possible.

[0096] In one example, bits 1-2 of the middle field 412 are preserved and will include zeros. Otherwise, in one example, a canonical anomaly can be identified.

[0097] Resulting Number Count 422 (e.g., bits 3-7): In one instance, Resulting Number Count 422 is an unsigned binary integer containing the rightmost bit of the second operand (also referred to herein as the source value) to be placed in the first operand (also referred to herein as the output value). In one example, a decimal overflow occurs if the value of the second operand is, for example, greater than the largest decimal number that can be represented by the specified number of bits, and a program interrupt for the decimal overflow occurs if the decimal overflow mask (e.g., in a status register, such as in the program status word or other status location) is, for example, one. In one example, a canonical exception is identified if the Resulting Number Count 422 field is, for example, zero. Other examples and / or variations are possible.

[0098] Furthermore, in one instance, the immediate field (I4) 408 includes the fourth operand of the instruction and references... Figure 4C For example, it may include multiple controls. As an example, these multiple controls include a no-validation 432 control, a negative zero 434 control, a reserved sign 436 control, a sign operation 438 control, a positive sign code 440 control, and an operand 2 sign validation 442 control. Each control is further described below.

[0099] No Validation 432 (e.g., bit 0): In one example, when No Validation 432 is, for example, zero, or in another example, when Vector Compacted Decimal Enhancement 1 is not installed, the validity of the second operand number (e.g., the number in the vector register specified using V2 406) is checked; if the sign operation 438 control specifies a sustained sign, the validity of the second operand sign code is also checked. When the sign operation 438 control specifies a two's complement sign, the sign code validity is checked, and if the sign operation 438 control specifies a forced positive or forced negative sign, the sign code validity is checked according to the operand 2 sign validation 442 control. If the validity check fails, a data anomaly is identified. If No Validation 432 is, for example, one, and, for example, Vector Compacted Decimal Enhancement 1 is installed, the validity of the second operand number is not checked; and if the sign operation 438 control specifies a sustained sign, the second operand sign code is also not checked. Other examples and / or variations are possible.

[0100] Negative zero point 434 (e.g., bit 1): In one example, when, for example, vector compression decimal enhancement facility 1 is installed and negative zero 434 is, for example, one, the procedure specifies that a negative zero result is allowed; otherwise, in one example, the sign of the zero result will be positive. When the magnitude of the result is, for example, zero, the sign of the result is a function of the sign code of the second operand, sign operation 438, positive sign code 440, negative zero 434, and reserved sign control 436, as shown. Figure 4E As specified in the document. Other examples and / or variations are possible.

[0101] In one example, bit 2 is ignored, but it will include, for example, zero; otherwise, the program would not be compatible in the future.

[0102] Reserved sign 436 (e.g., bit 3): In one example, when, for example, Vector Compressed Decimal Enhancement Facility 3 is installed, the operation specified by the sign operation 438 control is maintained, and reserved sign 436 is, for example, one. The sign code of the second operand is placed unmodified into the sign position of the first operand, regardless of the values ​​specified in the positive sign code 440 and negative zero 434 controls. When, for example, Vector Compressed Decimal Enhancement Facility 3 is not installed, the value of the sign operation 438 field is, for example, nonzero, or reserved sign 436 is, for example, zero. Then the sign code placed in the first operand is a function of the second operand, the result magnitude, sign operation 438, the positive sign code 440, and the negative zero 434 control. Other examples and / or variations are possible.

[0103] Sign operation 438 (e.g., bits 4-5): In one example, sign operation 438 specifies the sign operation used to determine the result sign code. The result sign code is, for example, a function of the sign operation 438 control, the second operand sign, the second operand number, the result number counter 422 control, the positive sign code 440, the negative zero code 434, and the reserved sign 436, such as... Figure 4E As specified in the document. Other examples and / or variations are possible.

[0104] Positive sign code 440 (e.g., bit 6): In one instance, positive sign code 440 is applied when the result sign is produced by means other than directly placing the sign code of the second operand into the result. That is, positive sign code 440 is applied when sign operation 438 is (e.g.) non-zero or when reserved sign 436 is (e.g.) zero and the sign code of the second operand is valid. When a positive sign code is applied and it is, for example, one, sign code 1111 is used for a positive result. When positive sign code 440 is applied and it is, for example, zero, sign code 1100 is used for a positive result. Other examples and / or variations are possible.

[0105] Operand 2 sign verification 442 (e.g., bit 7): In one instance, if operand 2 sign verification 442 is, for example, one, and the sign operation 438 control specifies a forced positive or forced negative, the validity of the second operand sign code is checked. If operand 2 sign verification 442 is, for example, zero, and the sign operation 438 control specifies a forced positive or forced negative, the validity of the second operand sign code is not checked. When the sign operation 438 control specifies a preserved or two's complement sign, the validity of the second operand sign code is checked based on the unverified 432 bit value. If the validity check fails, a data anomaly is identified. Other examples and / or variations are possible.

[0106] See Figure 4D In one instance, the mask field (M5) 410 includes a condition code set (CS) 452 control (e.g., bit 3). In one example, when the condition code set 452 is, for example, zero, the condition code is not set and remains unchanged. When the condition code set 452 is, for example, one, the condition code is set as indicated below, as specified in the resulting condition code. In one example, bits 0-2 of the mask field 410 are ignored but will include, for example, zero; otherwise, the program would not be compatible in the future. Other examples and / or variations are possible.

[0107] In one example, when the condition code set 452 is, for example, one, the condition codes are set as follows: 0 - result is zero, no overflow; 1 - result is less than zero, no overflow; 2 - result is greater than zero, or a non-zero result and an invalid symbol code, no overflow; 3 - overflow. In one example, when the condition code set 452 is, for example, zero, the condition codes remain unchanged. Other examples are possible. Other examples and / or variations are possible.

[0108] Example program exceptions that may occur during instruction execution include data and vector instructions with DXC (Data Error Code) FE; data and general operands with DXC (Data Error Code) 00; decimal overflow; operations (e.g., if the vector compressed decimal facility for z / Architecture is not installed); specifications; and transaction constraints. Additionally, fewer and / or other program exceptions may occur in other embodiments and / or for other architectures.

[0109] While the example above referenced whether the vector compression decimal enhancement facility was installed, in other examples, such a reference or check is not performed. Many examples are possible.

[0110] When executing the vector execution sign operation decimal instruction 400, in one example, the sign (e.g., a reserved, maintained, or modified sign) and a specified number of rightmost digits of, for example, the second operand are placed in the first operand location (e.g., one or more registers specified using V1), where other digits are set to, for example, zero. In one example, the second operand and the result are in signed compressed decimal format.

[0111] Check the validity of the numeric code of the second operand (e.g., all numeric codes) unless the operand 2 unvalidated 442 control is, for example, one. Based on the sign operation 438 control, the operand 2 sign-validated 442 control, and the operand 2 unvalidated 432 control, check the validity of the sign code of the second operand, such as... Figure 4E As specified in the document; however, in one example, if the reserved symbol 436 is enabled (e.g., set to 1) and the symbol operation 438 indicates, for example, a sustain operation, the validity check of the symbol code is not performed; instead, it is bypassed.

[0112] For example, Figure 4E A table is shown illustrating the operations of symbolic manipulation instructions (such as vector execution symbolic operation decimal instruction 400). The table includes the following: symbolic operation 460, result value (after applying result numeric count 422) 462, V2 symbol 464, reserved symbol 466, positive symbol code 468, negative zero 470, V2 symbol code validity check 472, if…then V2 numeric code validity check execution 474, result symbol code (hexadecimal) 476, and condition code 478.

[0113] In one example, the result sign code is a function of one or more controls, including, for example: sign operation 438, second operand sign, second operand number, result number counter 422, reserved sign 436, positive sign code 440 control, and negative zero 434 control, such as... Figure 4E As specified in the example.

[0114] exist Figure 4E In the example, '-' indicates that the result does not depend on the value; 'a' indicates that the result magnitude is considered non-zero if any bit of the result is non-zero; 'b' indicates that the symbol codes 0-9 are considered invalid; 'c' indicates that this produces suppressed data anomalies; CC is the result condition code when the condition code set 452 is, for example, one; and 'd' indicates that the condition code is passed for non-overflow cases – overflow cases, such as condition code 3 (CC3). Other examples and variations are possible.

[0115] A decimal overflow occurs if the result number counter control does not specify enough numbers to include, for example, all leftmost non-zero digits of the second operand. The operation completes. The result is obtained by ignoring the overflow digits, and if condition code set 452 is marked as 1 (for example), then the condition code is set (for example, 3). In one example, a program interruption due to a decimal overflow occurs if, for example, the decimal overflow mask in the program status word is 1, and the instruction overflow mask 420 is zero.

[0116] In one example, if the result number count 422 control specifies fewer than 31 digits, then as an example, zeros are placed in the leftmost remaining digit of the first operand. Other examples and variations are possible.

[0117] In the description of vector-based symbolic operation decimal instructions herein, such as vector-based symbolic operation decimal instruction 400, a specific position, a specific field, and / or a specific size of the field (e.g., a specific byte and / or bit) can be indicated. However, other positions, fields, and / or sizes can be provided. Furthermore, although it is possible to specify that a bit be set to a specific value, such as 1 or 0, this is merely an example. In other instances, if the bit is set, it can be set to a different value, such as the opposite value or another value. Many variations are possible.

[0118] In one embodiment, the fields of the instruction are separate and independent of each other; however, in other embodiments, more than one field may be combined. Furthermore, although an example type of register is specified for the source field (e.g., V2) and the destination field (e.g., V1), other types of registers may also be used. For example, in other embodiments, the source field and / or destination field may specify registers other than vector registers. Other examples are possible.

[0119] Vector execution of symbolic decimal instructions, such as vector execution of symbolic decimal instruction 400, may have more, fewer, and / or other fields. Furthermore, while various examples are provided for one or more formats of the instructions, additional and / or other formats may be used. Moreover, this processing can be used for purposes other than those described herein.

[0120] refer to Figures 5A-5BAn embodiment of performing symbolic operations with symbolic passing processing is further described using vector execution of symbolic operation decimal instructions (e.g., vector execution of symbolic operation decimal instructions 400). In one example, the symbolic operation instruction execution process 500 uses one or more submodules (e.g., submodules 300, 310-316, 320-324) to perform the processing, and the process is performed by one or more computing devices (e.g., one or more computers, such as computer 101 and / or other computers; one or more servers, such as remote server 104 and / or other remote servers; one or more devices, such as end-user device 103 and / or other end-user devices; one or more processors or nodes, such as processor set 110 (e.g., processor 200) and / or other processors or nodes; processing circuitry, such as processing circuitry 120 of processor set 110 and / or other processing circuitry; and / or other computing devices, etc.). Additional and / or other computers, servers, devices, processors, nodes, processing circuitry, and / or computing devices may be used to perform the processing and / or aspects thereof. Many examples are possible.

[0121] refer to Figure 5A In one example, the execution of symbolic manipulation instruction procedure 500 (also referred to as procedure 500) uses, for example, the obtain instruction submodule 300 to obtain instruction 510 (e.g., receive, retrieve, extract, be provided, pull, etc.) (e.g., vector execution of symbolic manipulation decimal instruction), and uses, for example, the execution instruction submodule 310 to execute instruction 515. Execution of vector execution of symbolic manipulation decimal instruction (e.g., vector execution of symbolic manipulation decimal instruction 400) includes, for example, obtaining one or more operands and / or information of instruction 520 (e.g., using obtain operand submodule 312). As an example, procedure 500 obtains a source value (e.g., a decimal number in signed compressed decimal format) from a second operand location (e.g., one or more vector registers specified using V2 406 and RXB 414), and obtains one or more controls from one or more operands of the instruction (e.g., third, fourth, and fifth operands obtained from I3 412, I4 408, and M5 410, respectively). Furthermore, in one or more embodiments, additional, fewer, and / or other operands and / or information may be obtained and used. The operands and / or information to be obtained depends, for example, on which operands and / or information are specified using instructions and / or being used. For one or more instructions, one or more operands and / or information may be optional and may not be used in various embodiments. Many variations are possible.

[0122] In one example, based on the obtained operands, process 500 performs multiple operations of instruction 530 (e.g., using execution operation submodule 316). As an example, process 500 uses, for example, move / truncate submodule 320 to place 532 (e.g., move or copy) a selected portion of the source value to a selected location (e.g., the destination register). In one example, one or more digits of the source value are placed in the destination location of the destination register specified by one or more fields of the instruction (e.g., move or copy from the source location of the source register specified by one or more fields of the instruction to the destination location of the destination register specified by one or more fields of the instruction). In a particular instance, a specified number of rightmost bits of the second operand (e.g., the source value, such as the number in signed compressed decimal format located in at least one register (e.g., at least one source register) specified by one or more fields of the instruction (e.g., V2 and RXB) are placed in the first operand location (e.g., at least one register specified by one or more fields of the instruction (e.g., V1 and RXB)), the first operand location being referred to herein as the destination register. In one instance, a specified number of rightmost digits in the source location of the source register are moved or copied to the target location of the target register.

[0123] Furthermore, in one example, procedure 500 truncates another portion of the source value 534 (e.g., using move / truncation submodule 320) (i.e., it is not included in the destination register). For example, procedure 500 sets the remaining digits in the first operand (i.e., the numeric positions) to, for example, zero, which effectively truncates one or more digits of the source value (e.g., unplaced digits). In one example, the remaining numeric positions in the destination location are set to zero. Therefore, the first operand location (also called the destination register) contains the output value, which is part of the result of executing the instruction.

[0124] Another part of the result of executing the instructions is the symbol code. Therefore, process 500 determines the symbol code resulting from 536 (e.g., using the symbol code determination submodule 322) based on one or more aspects. In one instance, to determine the symbol code, one or more controls of the instructions are used, as described below. Figure 5B Further details are provided. The determined symbol code, as part of the result of the executed instructions, is included in, for example, the first operand location.

[0125] Procedure 500 provides 538 results, including symbolic code. For example, the results are located in the first operand location (e.g., one or more vector registers specified using V1 404 and RXB 414). The results can be used for further processing, such as computation, data conversion, etc., which are performed by other instructions or code in a computer application.

[0126] Reference Figure 5B Further details relating to the determination of symbol codes are described below. In one example, the symbol code determination process 540 uses one or more submodules (e.g., submodule 322) to perform the processing, and the process is performed by one or more computing devices (e.g., one or more computers, such as computer 101 and / or other computers; one or more servers, such as remote server 104 and / or other remote servers; one or more devices, such as end-user device 103 and / or other end-user devices; one or more processors or nodes, such as processor set 110 (e.g., processor 200) and / or other processors or nodes; processing circuitry, such as processing circuitry 120 of processor set 110 and / or other processing circuitry; and / or other computing devices, etc.). Additional and / or other computers, servers, devices, processors, nodes, processing circuitry, and / or computing devices may be used to perform the processing and / or aspects thereof. Many examples are possible.

[0127] In one example, see Figure 5B The symbol code determination process 540 (also referred to as process 540) examines one or more controls of the instruction 550 to determine the symbol code of the result. For example, based at least on the value of a reserved symbol control (e.g., reserved symbol 436) being set to enabled, the resulting symbol code is the unmodified symbol code in the source symbol position of the source location. In a particular example, process 540 examines the reserved symbol control (e.g., reserved symbol 436) and / or symbol operation control (e.g., symbol operation 438) obtained from the operand of the instruction (e.g., (I4)). Based on (552) enabling the reserved symbol control (e.g., set to a selected value, such as 1) and setting the symbol operation control to the selected symbol operation, such as sustain, process 540 retains the symbol code of the selected operand (e.g., the second operand (i.e., the source value)) of the instruction 554. That is, process 540 provides the symbol code of the source value as the resulting symbol code, which is unmodified (and its validity is not checked). As described herein, this symbol code is, for example, placed in the target symbol position of the target location, as described herein.

[0128] However, in one example, based on (552) the reserved sign control not being enabled (e.g., set to another selected value, such as 0) or the sign operation control being set to an operation other than preservation (e.g., two's complement, forced to positive, forced to negative, etc.), in one embodiment, process 540 uses one or more controls of one or more operands of the instruction to determine the sign code of the result, as described herein and as... Figure 4EAs shown. For example, the result sign code is (e.g.) the sign operation 438 control, the second operand sign, the second operand number, the result number counter 422 control, the positive sign code 440, the negative zero code 434, and the reserved sign 436 function, such as Figure 4E As specified herein. Other examples and / or variations are possible. For example, as described here, the determined symbol code may be placed in the target symbol location at the target location.

[0129] Furthermore, in one or more aspects, if the symbol code is not retained, the validity of the symbol code of the second operand can be checked based on, for example, the symbol operation 438 control, the operand 2 symbol verification 442 control, and the operand 2 no verification 432 control, such as... Figure 4E As specified in [the document / reference]. In one example, this validity check is not performed when the symbol code is preserved.

[0130] As described herein, procedure 540 or procedure 500 provides the obtained symbol code in the target symbol location at the target location.

[0131] The above describes an enhanced vector execution symbolic operation decimal instruction that, as part of the execution of the enhanced vector execution symbolic operation decimal instruction, places data, truncates data, and preserves symbolic code.

[0132] In one or more aspects, instructions of a single architecture (e.g., vector execution of signed decimal instructions) replace multiple in-memory instructions for placing (e.g., moving or copying) and truncating numbers and / or multiple general vector instructions for placing (e.g., moving or copying) and truncating data. As a concrete example, the following vector execution of signed decimal instructions are used to place (e.g., move or copy) a 31-bit number and truncate it to a 26-bit number.

[0133] VPSOP V26, V27, 26, SO =0, NV =1, PS = 1

[0134] -> Perform symbolic operations on the vector, setting PS = 1 and NV = 1 in decimal.

[0135] In one example, it can be used with the following code snippet:

[0136] VLRL V27, 375(R13), 15 -> Rightmost vector load with a length of 16 bytes

[0137] VPSOP V26, V27, 26, SO =0, NV =1, PS = 1

[0138] -> Perform symbolic operations on the vector, setting PS = 1 and NV = 1 in decimal.

[0139] VSTRL V26, 688(R8), 13-> Rightmost vector storage with a length of 14 bytes

[0140] In one example, by setting the reserved symbol (PS) to, for example, 1 and the symbol operation (SO) to, for example, 0, the symbol code in the source symbol location is passed to the target symbol location (without modification, validity checks, etc.). Thus, multiple operations, including, for example, placing, truncating, and preserving symbol code, are performed in a single execution of a single architecture instruction.

[0141] The instructions in the above architecture (e.g., VPSOP - vector execution of signed decimal instructions) can be used to replace the following code set, which uses instructions that operate on operands in memory to place and truncate 31-bit numbers into 26-bit numbers:

[0142] MVC 688(14, R8), 377(R13) -> 14-byte move character instruction

[0143] NI 689(R8), 0x0F->AND instruction

[0144] Furthermore, in another example, the instructions of the above architecture (e.g., VPSOP - vector execution sign operation decimal instructions) can be used to replace the VGBM, VLEIB, and VN instructions below. In one example, the following code set that uses general vector instructions to place and truncate a 31-bit number into a 26-bit number is replaced by the above code snippet including, for example, VLRL, VPSOP, and VSTRL:

[0145] VLRL V26, 375(R13), 15-> Rightmost vector load with a length of 16 bytes

[0146] VGBM V27, 0x3 fff -> Vector Bytemask Generation Instruction

[0147] VLEIB V27, 0x0f, 2-> Vector Load Element Immediate Instruction

[0148] VN V26, V26, V27 -> Vector AND instruction

[0149] VSTRL V26, 688(R8), 13-> Rightmost vector storage with a length of 14 bytes

[0150] Using a single architecture of instructions to place and truncate data, as well as preserve symbols, reduces resource usage, avoids latency caused by memory not being used for operations, and improves performance. Using a single architecture of instructions allows for moving or copying data, clearing numeric locations, and preserving symbol code to achieve legacy compatibility and improved performance. This avoids breaking the consistent use of vector compression decimal facilities (and / or similar tools for other architectures) by compilers (such as the COBOL compiler) and / or binary converters or binary optimizers when performing move or copy and truncation, thus reducing code bloat and performance degradation. (For example, the code for computer applications) is smaller than the previous sequence of move or copy and truncation instructions, and the performance is faster.

[0151] In one or more respects, using vector execution of symbolic operation decimal instructions to perform placement, truncation, and preservation of symbolic code operations as part of an architectural instruction set enhances vector compressed decimal facilities (and / or similar facilities in other architectures) to achieve robust compatibility and improved performance when converting legacy code using, for example, in-memory MVC and NI instructions.

[0152] Furthermore, in one or more aspects, the existing code is not affected by the use of vector execution of symbolic operation decimal instructions that provide symbol code preservation, because the ability to preserve symbol code may be disabled (e.g., setting the reserved symbol 436 to, for example, zero).

[0153] In one or more aspects, reserved symbol controls and / or reserved symbol processing can be used with processing other than move or copy / truncation. For example, reserved symbol controls and / or reserved symbol processing can be used with move or copy / widen operations where the destination position is greater than the source position. This can occur, for example, when an instruction that validates symbol and numeric fields (e.g., a zero and add pack (ZAP) instruction) performs a move operation (e.g., placement, such as move or copy) or a move and widen operation (adding the leftmost zero byte / numeric) and then moves the original source or an additional instruction (e.g., a move numeric instruction) moves back to the original source symbol code. In this case, enhanced vector execution of symbol operation decimal instructions (or similar, other instructions) can be used to preserve the original symbol and move or copy data as needed.

[0154] Therefore, in one instance, the following VPSOP directive and code sequence is used:

[0155] VLRL V25, 200(R13), 2-> Load the rightmost vector with a length of 3 bytes

[0156] VPSOP V24, V25, 25, SO =0, NV =0, PS = 1

[0157] -> Perform symbolic operations on vectors, setting PS = 1 and NV = 0 in decimal.

[0158] -> NV means no verification, and setting it to 0 indicates data...

[0159] -> Perform validation on the source data

[0160] VSTRL V24, 582(R8), 12-> Rightmost vector storage with a length of 13 bytes

[0161] The following in-memory instruction sequences can be replaced:

[0162] ZAP 400 (3, R13), 200 (3, R13)

[0163] -> Zero, add packing to copy and validate data (3 bytes) to a location.

[0164] ZAP copies decimal data from the source on the right to the target on the left, and also...

[0165] ->Verify that the numbers and symbols are valid

[0166] MVC 592 (3, R8), 200 (3, R13)

[0167] -> Move characters to copy the original source to the new target location (3 bytes)

[0168] XC 582(10, R8), 582(10, R8) -> zero XOR above 10 bytes, for...

[0169] ->Target Location

[0170] For the above, the binary optimizer may be able to determine that the 3-byte write from ZAP to R13+400 is not needed, but it still needs to maintain the verification side effects (such as verification of the sign and number of the ZAP source operand) in the newly generated code, and this can be achieved by allocating the vector execution of the sign operation decimal instructions.

[0171] Furthermore, the VPSOP instructions and code sequences described above can replace the following general vector instruction sequences:

[0172] VLRL V25, 200(R13), 2-> Loading a 3-byte vector on the far right.

[0173] …-> Possible additional vector instructions for data manipulation

[0174] VPSOP V23, V25, NV = 0-> Vector performs sign operations on decimal numbers

[0175] -> Set NV = 0, but the symbol is available before it is retained, so the symbol can be changed.

[0176] VLR V24, V25 -> Vector Load Register (No data verification)

[0177] …-> Possible additional vector instructions for data manipulation

[0178] VSTRL V24, 582(R8), 12-> Rightmost vector storage with a length of 13 bytes

[0179] In one example, the VLR moves data without altering any data and without performing data verification. Therefore, additional compensation instructions are used to approximate the original in-memory sequence. The VLR is used, for example, to move data to satisfy specific register conventions (e.g., as part of the Application Binary Interface (ABI)) or if there are additional in-register operations to be performed, such as between VLRL and VSTRL. Other examples are possible.

[0180] Data validation and symbol preservation can be performed using individual instructions via a general vector instruction sequence. However, according to one aspect of this disclosure, an instruction, including an enhanced vector execution decimal instruction for preserving symbol controls, is capable of performing data validation and symbol preservation (and / or other aspects, operations, features, etc.).

[0181] Preserving symbol controls and / or preserving symbol processing can be used in conjunction with other operations, including, for example, move or copy operations where the target location has the same size as the source location and / or any other operations where symbol codes are to be preserved. Move / truncate, move / widen, and move operations are merely example operations where it may be desirable to preserve symbol codes; other operations may use preserving symbol codes and / or preserving symbol processing.

[0182] In one or more aspects, reserved sign control for vector execution of symbolic decimal instructions (or other instructions) can be used in conjunction with one or more features of vector execution of symbolic decimal instructions (or other instructions) to achieve a minimal and highly efficient instruction set that is also strictly compatible with the original or previous code sequence. Although examples are provided in this document, other combinations of reserved sign control and one or more features of the instructions can be implemented and / or used. Many examples are possible.

[0183] In addition to vector-based signed decimal manipulation instructions, instructions may include and utilize reserved sign control and / or reserved sign processing. Furthermore, the source value may differ from the decimal value and / or from the signed compressed decimal format. Many examples are possible.

[0184] In one or more aspects, a computer program product (computer system and / or computer-implemented method) is provided for facilitating processing within a computing environment. The computer program product includes a computer-readable storage medium readable by processing circuitry and storing instructions for performing computer operations, including obtaining instructions for performing one or more operations using input values. The instructions include a reserved sign control indicator indicating whether the sign of the operands of the instructions is not modified when enabled (e.g., set to 1). Execution of the instructions includes performing the one or more operations using the input values ​​to obtain a result, wherein the one or more operations include obtaining a portion of the input value to move to a position as output of the execution of the instructions, the portion of the input value including a numerical value and a sign associated with those numerical values, and the result including the obtained portion of the input value, wherein the sign of the obtained portion of the input value is the sign of the result. The execution further includes determining whether the reserved sign control indicator is enabled, and performing further processing based on the enabled reserved sign control indicator, wherein the sign of the input value is not modified when the input value is stored as the sign of the result of the operations performed when the instructions are executed.

[0185] In one or more aspects, the execution further includes determining whether a symbolic opcode indicator is enabled (e.g., SO = 00) and whether a no-verification indicator is enabled.

[0186] In one or more aspects, the execution also includes ignoring the negative zero control indicator and ignoring the positive sign code indicator.

[0187] Other variations and implementations are possible.

[0188] Furthermore, although this document describes one or more examples of computing environments for incorporating and using one or more aspects of this disclosure, Figures 6A-6B Another embodiment of a computing environment for incorporating and using one or more aspects of this disclosure is shown.

[0189] First refer to Figure 6A In this example, computing environment 36 includes, for example, a local central processing unit (CPU) 37 based on an architecture having an instruction set architecture, memory 38, and one or more input / output devices and / or interfaces 39 coupled to each other via, for example, one or more buses 40 and / or other connections.

[0190] The native central processing unit 37 includes one or more native registers 41, such as one or more general-purpose registers and / or one or more special-purpose registers used during processing within the environment. These registers include information representing the state of the environment at any given point in time.

[0191] In addition, the local central processing unit 37 executes instructions and code stored in memory 38. In a particular example, the central processing unit executes emulator code 42 stored in memory 38, which enables a computing environment configured in one architecture to emulate another architecture (different from the first architecture) and to execute software and instructions developed based on the other architecture.

[0192] refer to Figure 6B Further details relating to emulator code 42 are described. Client instructions 43 stored in memory 38 include software instructions (e.g., machine instructions) developed to execute on an architecture different from that of the native CPU 37. For example, client instructions 43 could be designed to execute on a processor based on a different instruction set architecture, but instead are emulated on the native CPU 37, which could be, for example, an instruction set architecture. In one example, emulator code 42 includes an instruction fetch routine 44 to fetch one or more client instructions 43 from memory 38, and optionally provides a local buffer for the fetched instructions. It also includes an instruction translation routine 45 to determine the type of the fetched client instruction and translate the client instruction into one or more corresponding native instructions 46. This translation includes, for example, identifying the function to be executed by the client instruction and selecting one or more native instructions(s) to execute that function.

[0193] Furthermore, emulator code 42 includes emulation control routine 47 to enable the execution of native instructions. Emulation control routine 47 enables the native CPU 37 to execute a native instruction routine that emulates one or more previously obtained client instructions, and upon completion of such execution, returns control to the instruction fetch routine to emulate the fetching of the next client instruction or a set of client instructions. Execution of native instruction 46 may include loading data from memory 38 into a register; storing data from a register back into memory; or performing some type of arithmetic or logical operation determined by a translation routine.

[0194] For example, each routine is implemented in software, which is stored in memory and executed by the local central processing unit 37. In other examples, one or more routines or operations are implemented in firmware, hardware, software, or some combination thereof. The registers of the emulated processor can be emulated using the native CPU's register 41 or by using locations in memory 38. In embodiments, client instructions 43, native instructions 46, and emulator code 42 can reside in the same memory or can be distributed among different memory devices.

[0195] According to one or more aspects of this disclosure, example instructions that can be simulated are the vector-based symbolic manipulation decimal instructions described herein.

[0196] The computing environments described herein are merely examples of computing environments that can be used. One or more aspects of this disclosure can be used with many types of environments. The computing environments provided herein are merely examples. Each computing environment can be configured to include one or more aspects of this disclosure. For example, each can be configured to implement symbolic computation processing; placement (e.g., moving or copying), truncation, and preservation of symbolic code processing; and / or perform one or more other aspects of this disclosure.

[0197] One or more aspects of this disclosure relate to computer technology and facilitate processing within a computer, thereby improving its performance. For example, processing speed is increased, and latency and cost are reduced. Processing within the processor, computer system, and / or computing environment is improved.

[0198] In one or more respects, when data needs to be truncated, and further when data needs to be truncated but symbolic code needs to be preserved, vector execution of symbolic decimal instructions is included in computer code (e.g., COBOL applications and / or applications written in other computer languages). This is desirable during certain computational processes, in data conversion from one format to another, and / or in other processes.

[0199] Other aspects, variations, and / or embodiments are possible.

[0200] In addition to the above, one or more aspects such as providing, supplying, deploying, managing, and servicing customer environment management can be provided by a service provider. For example, a service provider can create, maintain, support, etc., the computer code and / or computer infrastructure that performs one or more aspects for one or more customers. In return, the service provider can receive payments from customers, for example, under subscription and / or fee agreements. Alternatively, the service provider can receive payments from selling advertising content to one or more third parties.

[0201] In one respect, an application can be deployed to execute one or more embodiments. As an example, application deployment includes providing a computer architecture operable to execute one or more embodiments.

[0202] On the other hand, a computing architecture can be deployed, including integrating computer-readable code into a computing system, wherein the code combined with the computing system is capable of executing one or more embodiments.

[0203] On the other hand, a process for integrating a computing architecture can be provided, including integrating computer-readable code into a computer system. The computer system includes a computer-readable medium, wherein the computer medium includes one or more embodiments. The code integrated with the computer system is capable of executing one or more embodiments.

[0204] While various embodiments have been described above, these are merely examples. For instance, other instructions, instruction formats, operands, and / or registers may be used. Furthermore, additional, fewer, and / or other modules / submodules may be used. Although a particular submodule may be provided as an example of performing a specific operation or task, one or more additional and / or other submodules may be used. Submodules may be combined and divided into other submodules. Many variations are possible.

[0205] This document describes various aspects and embodiments. Furthermore, many variations are possible without departing from the spirit of the aspects of this disclosure. It should be noted that, unless otherwise inconsistent, each aspect or feature described and / or claimed herein, and its variations, may be combined with any other aspect or feature.

[0206] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the terms “comprising” and / or “including” as used in this specification specify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0207] If present, all means or steps plus functional elements in the following claims are intended to include corresponding structures, materials, actions, and equivalents for performing functions in combination with other claimed elements of the particular claim. Descriptions of one or more embodiments have been presented for purposes of illustration and description, but such description is not intended to be exhaustive or limited to the forms disclosed. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to best explain various aspects and practical applications, and to enable others skilled in the art to understand the various embodiments with various modifications suitable for the particular intended use.

Claims

1. A computer program product, comprising: A collection of one or more computer-readable storage media; as well as Program instructions, collectively stored in the collection of one or more computer-readable storage media, are used to cause at least one computing device to perform computer operations, said computer operations including: Executing instructions to obtain the result of the instructions, the result including an output value and a result symbol code, and executing the instructions includes: Perform at least one operation on at least a portion of a source value to provide the output value of the result, the source value being located in a source location, the source location including a source location for including the source value and a source symbol location for including the symbol code of the source value; Examine one or more controls of the instruction to be used in determining the resulting symbol code, wherein the one or more controls of the instruction include a reserved symbol control; Based at least on the fact that the value of the reserved symbol control is set to enabled, it is determined that the resulting symbol code is the unmodified symbol code in the source symbol position of the source location; Provide the unmodified symbol code from the source symbol position of the source location as the resulting symbol code; and The results are provided, including the output values ​​and the result symbol codes.

2. The computer program product according to claim 1, wherein, Providing the unmodified symbol code in the source symbol position of the source location as the result symbol code includes: copying multiple numbers in the source symbol position of the source location as the result symbol code.

3. The computer program product according to claim 1 or 2, wherein, The plurality of numbers includes a plurality of binary numbers copied from the source symbol position of the source location, regardless of the symbol code and the validity of the symbol code.

4. The computer program product according to any one of claims 1 to 3, wherein, The at least one operation includes a move operation, in which a selected portion of the source value is placed in a portion of the output value of the result.

5. The computer program product according to any one of claims 1 to 4, wherein, Based on the move operation, another portion of the source value is truncated because it is missing from the output value.

6. The computer program product according to any one of claims 1 to 5, wherein, The at least one operation further includes a truncation operation, in which another portion of the source value is missing from the output value, and another portion of the output value is set to a selected value.

7. The computer program product according to any one of claims 1 to 6, wherein, The selected portion of the source value is the rightmost digit of a specified number of the source value, the move operation includes placing the rightmost digit of the specified number of the source value into the portion of the output value, and the truncation operation includes setting the digits of another portion of the output value to zero, wherein the output value of the result includes the rightmost digit of the specified number of the source value and other digits set to zero.

8. The computer program product according to any one of claims 1 to 7, wherein, Providing the result includes: providing the output value and the result symbol code at a target location, the target location including a target location for including the output value and a target symbol location for including the result symbol code.

9. The computer program product according to any one of claims 1 to 8, wherein, The source location is at least one register, and the target location is at least one other register.

10. The computer program product according to any one of claims 1 to 9, wherein, The one or more controls of the instruction further include a symbol manipulation control, and wherein checking the one or more controls of the instruction includes: checking the symbol manipulation values ​​of the reserved symbol control and the symbol manipulation control to determine that the resulting symbol code is the unmodified symbol code in the source symbol position of the source position.

11. The computer program product according to any one of claims 1 to 10, wherein, The symbol operation value is a sustain operation.

12. The computer program product according to any one of claims 1 to 11, wherein, The computer operation also includes another instance of executing the instructions, and wherein, based on the other instance of executing the instructions and the value of the reserved symbol control being set to disabled, checking the one or more controls of the instructions includes checking multiple controls of the instructions to be used in determining the resulting symbol code.

13. The computer program product according to any one of claims 1 to 12, wherein, The plurality of controls of the instruction include a symbol operation control for indicating the symbol operation value to be used in determining the symbol code of the result, a positive symbol code control for indicating the selected symbol code to be used to represent a positive symbol, and a negative zero control for indicating whether a negative zero result is allowed.

14. A computer system, comprising: At least one computing device; A collection of one or more computer-readable storage media; as well as Program instructions, collectively stored in the collection of the one or more computer-readable storage media, are used to cause the at least one computing device to perform computer operations, the computer operations including: Executing instructions to obtain the result of the instructions, the result including an output value and a result symbol code, and executing the instructions includes: Perform at least one operation on at least a portion of a source value to provide the output value of the result, the source value being located in a source location, the source location including a source location for including the source value and a source symbol location for including the symbol code of the source value; Examine one or more controls of the instruction to be used in determining the resulting symbol code, wherein the one or more controls of the instruction include a reserved symbol control; Based at least on the fact that the value of the reserved symbol control is set to enabled, it is determined that the resulting symbol code is the unmodified symbol code in the source symbol position of the source location; Provide the unmodified symbol code from the source symbol position of the source location as the resulting symbol code; and The results are provided, including the output values ​​and the result symbol codes.

15. The computer system according to claim 14, wherein, The at least one operation includes a move operation and a truncation operation, wherein in the move operation, a selected portion of the source value is placed in a portion of the output value of the result, and in the truncation operation, another portion of the source value is missing from the output value, and another portion of the output value is set to the selected value.

16. The computer system according to claim 14 or 15, wherein, Providing the result includes: providing the output value and the result symbol code at a target location, the target location including a target location for including the output value and a target symbol location for including the result symbol code, wherein the source location is at least one register and the target location is at least one other register.

17. The computer system according to any one of claims 14 to 16, wherein, The one or more controls of the instruction further include a symbol manipulation control, and wherein checking the one or more controls of the instruction includes checking the symbol manipulation values ​​of the reserved symbol control and the symbol manipulation control to determine that the resulting symbol code is the unmodified symbol code in the source symbol position of the source position.

18. A computer-implemented method, comprising: Executing instructions to obtain the result of the instructions, the result including an output value and a result symbol code, and executing the instructions includes: Perform at least one operation on at least a portion of a source value to provide the output value of the result, the source value being located in a source location, the source location including a source location for including the source value and a source symbol location for including the symbol code of the source value; Examine one or more controls of the instruction to be used in determining the resulting symbol code, wherein the one or more controls of the instruction include a reserved symbol control; Based at least on the fact that the value of the reserved symbol control is set to enabled, it is determined that the resulting symbol code is the unmodified symbol code in the source symbol position of the source location; Provide the unmodified symbol code from the source symbol position of the source location as the resulting symbol code; and The results are provided, including the output values ​​and the result symbol codes.

19. The computer-implemented method according to claim 18, wherein, The at least one operation includes a move operation and a truncation operation, wherein in the move operation, a selected portion of the source value is placed in a portion of the output value of the result, and in the truncation operation, another portion of the source value is missing from the output value, and another portion of the output value is set to the selected value.

20. The computer-implemented method according to claim 18 or 19, wherein, Providing the result includes: providing the output value and the result symbol code at a target location, the target location including a target location for including the output value and a target symbol location for including the result symbol code, wherein the source location is at least one register and the target location is at least one other register.

21. The computer-implemented method according to any one of claims 18 to 20, wherein, The one or more controls of the instruction further include a symbol manipulation control, and wherein checking the one or more controls of the instruction includes checking the symbol manipulation values ​​of the reserved symbol control and the symbol manipulation control to determine that the resulting symbol code is the unmodified symbol code in the source symbol position of the source position.

22. A computer program product comprising: A collection of one or more computer-readable storage media; as well as Program instructions, collectively stored in the collection of one or more computer-readable storage media, are used to cause at least one computing device to perform computer operations, said computer operations including: Executing instructions to perform one or more operations on a source value included in at least one source register specified by one or more fields using the instructions, the source value including a plurality of numbers in a source numeric location of the at least one source register and a sign code in a source sign location of the at least one source register, the execution of the instructions including: Place a specified number of numbers from the plurality of numbers in the source number positions of the at least one source register into the target number positions of the at least one target register, and set one or more other numbers in the target number positions to selected values; Determining a resulting symbol code to be placed in a target symbol location of the at least one target register, the determination comprising examining one or more controls of the instruction to be used to determine the resulting symbol code, the one or more controls of the instruction including a reserved symbol control, and wherein, at least based on the value of the reserved symbol control being set to enabled, the resulting symbol code placed in the target symbol location of the at least one target register is the unmodified symbol code in the source symbol location; and Based on the execution of the instruction, the output of the instruction is provided, the output including the at least one target register.

23. The computer program product according to claim 22, wherein, The specified number is provided in the control of the instruction.

24. A computer program product comprising: A collection of one or more computer-readable storage media; as well as Program instructions, collectively stored in the collection of one or more computer-readable storage media, are used to cause at least one computing device to perform computer operations, said computer operations including: Executing instructions to perform one or more operations on a source value included in at least one source register specified by one or more fields using the instructions, the source value including a plurality of numbers in a source number location of the at least one source register and a sign code in a source sign location of the at least one source register, the execution of the instructions including: Place a specified number of numbers from the plurality of numbers in the source number positions of the at least one source register into the target number positions of the at least one target register, and set one or more other numbers in the target number positions to selected values; Determining a resulting symbol code to be placed in a target symbol location of the at least one target register, the determination comprising examining one or more controls of the instruction to be used to determine the resulting symbol code, the one or more controls of the instruction including a reserved symbol control, and wherein, based on the value of the reserved symbol control, it is set to be disabled to indicate that the symbol code is not reserved, the examination of the one or more controls comprising examining multiple controls of the instruction to be used to determine the resulting symbol code to be placed in the target symbol location of the at least one target register; and Based on the execution of the instruction, the output of the instruction is provided, the output including the at least one target register.

25. The computer program product according to claim 24, wherein, The plurality of controls include a symbol operation control for indicating the symbol operation value to be used in determining the symbol code of the result, a positive symbol code control for indicating the selected symbol code to be used to represent a positive symbol, and a negative zero control for indicating whether negative zero results are allowed.