Data alignment in processor arrangements, Computer Networking

Data Alignment

Arrays are aligned to templates by the ALIGN directive. The ALIGN directive is used to align elements of different arrays with each other, indicating that they should be spreaded in the similar manner. The syntax of an ALIGN derivative is:

!HPF$ ALIGN array1 WITH array2

where array1 is the name of array to be aligned and array2 is the array to be aligned to.

Example 6

Consider the statement

ALIGN A[i] WITH B[i]

This statement aligns each A[i] with B[i] as shown in Figure.

1980_ALIGN A[i] WITH B[i].png

                                                                                                                        ALIGN A[i] WITH B[i]

Consider the statement

ALLIGN A[i] WITH B[i+1]

This statement aligns the each A[i] with B[i+1] as shown in Figure.

2141_ALIGN A[i] WITH B[i+1].png

                               ALIGN A[i] WITH B[i+1]

* can be used to fall down the dimensions. Consider the statement

ALLIGN A[:, *] WITH B[:]

This statement aligns two dimensional array with one dimensional array by collapsing as shown in Figure.

1355_alignmen.png

                                                                                                     Alignmen

Posted Date: 3/2/2013 8:10:53 AM | Location : United States







Related Discussions:- Data alignment in processor arrangements, Assignment Help, Ask Question on Data alignment in processor arrangements, Get Answer, Expert's Help, Data alignment in processor arrangements Discussions

Write discussion on Data alignment in processor arrangements
Your posts are moderated
Related Questions
CAUSES OF FAILURES Every failure has a well-defined cause.  Any system or device has an inherent strength or capacity to resist failures. This depends on design, material, man

What is OSPF? It is an Internet routing protocol that scales well, can route traffic with multiple paths, and uses knowledge of an Internet's topology to make precise routing de

Can you describe transport and tunnel mode in detail with datagram packets?

Ethernet Frame Format Consists of seven fields There is No mechanism for acknowledging received frames considered an unreliable medium

Q. Show the seven layers of ISO's OSI model? Ans:- The seven layers are given below:   -  Application Layer -  Presentation Layer -  Session Layer -  Transport Laye

What is Multiplexing? Multiplexing is the set of techniques that permits the simultaneous transmission of multiple signals across a single data link.

What is region? When hierarchical routing is used, the routers are separated into what we will call regions, with every router knowing all the details about how to route packet

Relevance and Protection regarding DNS Attacks While discussing about the relevance and protection of the database, there are many things which need to consider. Almost, may o

What is a Link? A link refers to the connectivity among two devices. It contains the type of cables and protocols used in order for single device to be able to communicate with

Define the term - Graphics Interchange Format A type of graphics file found frequently on the .net. A picture of a vice-president, for example, may appear on the Intranet as