search for: alias_

Displaying 6 results from an estimated 6 matches for "alias_".

Did you mean: alias
2019 Jul 22
3
[RFC] A new multidimensional array indexing intrinsic
...e C language does not provide > > semantics that allow the final inference above. It is conceivable that > > `x1 != x2, y1 != y2`, but the indices do actually alias, since > > according to C semantics, the two indices alias if the _flattened > > representation of the indices alias_. Consider the parameter > > values: > > > > ``` > > n = m = 3 > > x1 = 1, y1 = 0; B[x1][y1] = nx1+y1 = 3*1+0=3 > > x2 = 0, y2 = 3; B[x2][y2] = nx2+y2 = 3*0+3=3 > > ``` > > > > Hence, the array elements `B[x1][y1]` and `B[x2][y2]` _can alias_, an...
2019 Jul 21
6
[RFC] A new multidimensional array indexing intrinsic
...However, alas, this is illegal, for the C language does not provide semantics that allow the final inference above. It is conceivable that `x1 != x2, y1 != y2`, but the indices do actually alias, since according to C semantics, the two indices alias if the _flattened representation of the indices alias_. Consider the parameter values: ``` n = m = 3 x1 = 1, y1 = 0; B[x1][y1] = nx1+y1 = 3*1+0=3 x2 = 0, y2 = 3; B[x2][y2] = nx2+y2 = 3*0+3=3 ``` Hence, the array elements `B[x1][y1]` and `B[x2][y2]` _can alias_, and so the transformation proposed in `ex1_opt` is unsound in general. In contrast, many...
2019 Jul 22
2
[RFC] A new multidimensional array indexing intrinsic
...r the C language does not provide >> semantics that allow the final inference above. It is conceivable that >> `x1 != x2, y1 != y2`, but the indices do actually alias, since >> according to C semantics, the two indices alias if the _flattened >> representation of the indices alias_. Consider the parameter >> values: >> >> ``` >> n = m = 3 >> x1 = 1, y1 = 0; B[x1][y1] = nx1+y1 = 3*1+0=3 >> x2 = 0, y2 = 3; B[x2][y2] = nx2+y2 = 3*0+3=3 >> ``` >> >> Hence, the array elements `B[x1][y1]` and `B[x2][y2]` _can alias_, and >&gt...
2019 Jul 22
2
[RFC] A new multidimensional array indexing intrinsic
...r the C language does not provide > semantics that allow the final inference above. It is conceivable that > `x1 != x2, y1 != y2`, but the indices do actually alias, since > according to C semantics, the two indices alias if the _flattened > representation of the indices alias_. Consider the parameter > values: > > ``` > n = m = 3 > x1 = 1, y1 = 0; B[x1][y1] = nx1+y1 = 3*1+0=3 > x2 = 0, y2 = 3; B[x2][y2] = nx2+y2 = 3*0+3=3 > ``` > > Hence, the array elements `B[x1][y1]` and `B[x2][y2]` _can alias_, and > so the...
2019 Jul 25
0
[RFC] A new multidimensional array indexing intrinsic
...does not provide >>> semantics that allow the final inference above. It is conceivable that >>> `x1 != x2, y1 != y2`, but the indices do actually alias, since >>> according to C semantics, the two indices alias if the _flattened >>> representation of the indices alias_. Consider the parameter >>> values: >>> >>> ``` >>> n = m = 3 >>> x1 = 1, y1 = 0; B[x1][y1] = nx1+y1 = 3*1+0=3 >>> x2 = 0, y2 = 3; B[x2][y2] = nx2+y2 = 3*0+3=3 >>> ``` >>> >>> Hence, the array elements `B[x1][y1]` and...
2019 Jul 22
1
[RFC] A new multidimensional array indexing intrinsic
...gt; > semantics that allow the final inference above. It is conceivable that > > > `x1 != x2, y1 != y2`, but the indices do actually alias, since > > > according to C semantics, the two indices alias if the _flattened > > > representation of the indices alias_. Consider the parameter > > > values: > > > > > > ``` > > > n = m = 3 > > > x1 = 1, y1 = 0; B[x1][y1] = nx1+y1 = 3*1+0=3 > > > x2 = 0, y2 = 3; B[x2][y2] = nx2+y2 = 3*0+3=3 > > > ``` > > > > > >...