Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
176 changes: 157 additions & 19 deletions xml/System.Runtime.Intrinsics.X86/Avx2.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Type Name="Avx2" FullName="System.Runtime.Intrinsics.X86.Avx2">
<Type Name="Avx2" FullName="System.Runtime.Intrinsics.X86.Avx2">
<TypeSignature Language="C#" Value="public abstract class Avx2 : System.Runtime.Intrinsics.X86.Avx" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit Avx2 extends System.Runtime.Intrinsics.X86.Avx" />
<TypeSignature Language="DocId" Value="T:System.Runtime.Intrinsics.X86.Avx2" />
Expand Down Expand Up @@ -3617,7 +3617,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVZXBW ymm, m128</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion to remove we from the sentence. If accepted, should be applied everywhere.

Also, will customers know what this means?

Suggested change
The native signature does not exist. We provide this additional overload for completeness.
The native signature doesn't exist. This additional overload is provided for completeness.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I applied the change. @tannergooding @CarolEidt, if a customer that is familiar with these APIs going to understand remarks like this?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I believe they will. The point is that, while most of these map to "native" C++ intrinsics, some do not. For example, these take an address (pointer), since the instruction supports an in-memory operand. The C++ intrinsics don't provide those as distinct overloads.


]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3642,7 +3652,10 @@
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<summary>
__m256i _mm256_cvtepu8_epi16 (__m128i a)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this render as two separate lines?

Copy link
Contributor Author

@carlossanlop carlossanlop Aug 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, but if you look at other pre-existing summaries in this file, they have the exact same format: an endline at the beginning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@carlossanlop carlossanlop Aug 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At first I was assuming you were talking about lines 3655 and 3656, but the problem applies for both cases I mentioned above.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's unfortunate; is there a way to ensure that the newline is retained?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just asking for this case in particular. Ideally it would render as two separate lines; since the native instruction (second line) and the C++ intrinsic (first line) should be differentiated here.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two things to try:

  • Add two spaces in first line, before the line break.
  • If that doesn't work, use an HTML tag, either <br/> or <p />.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need <para> tags to render as two lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only have experience with <br />. I'll use that. I'll make sure all the pre-existing similar summaries have the same fix.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VPMOVZXBW ymm, xmm
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand Down Expand Up @@ -3698,7 +3711,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVSXBW ymm, m128</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3722,7 +3745,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVZXBD ymm, m64</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3746,7 +3779,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVSXWD ymm, m128</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3771,7 +3814,10 @@
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<summary>
__m256i _mm256_cvtepu8_epi32 (__m128i a)
VPMOVZXBD ymm, xmm
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand Down Expand Up @@ -3860,7 +3906,10 @@
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<summary>
__m256i _mm256_cvtepu16_epi32 (__m128i a)
VPMOVZXWD ymm, xmm
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3884,7 +3933,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVSXBD ymm, m64</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3908,7 +3967,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVZXWD ymm, m128</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3932,7 +4001,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVZXBQ ymm, m32</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3956,7 +4035,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVSXWQ ymm, m64</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -3980,7 +4069,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVSXDQ ymm, m128</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -4005,7 +4104,10 @@
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<summary>
__m256i _mm256_cvtepu8_epi64 (__m128i a)
VPMOVZXBQ ymm, xmm
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand Down Expand Up @@ -4126,7 +4228,10 @@
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<summary>
__m256i _mm256_cvtepu16_epi64 (__m128i a)
VPMOVZXWQ ymm, xmm
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -4151,7 +4256,10 @@
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<summary>
__m256i _mm256_cvtepu32_epi64 (__m128i a)
VPMOVZXDQ ymm, xmm
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -4175,7 +4283,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVSXBQ ymm, m32</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -4199,7 +4317,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVZXWQ ymm, m64</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand All @@ -4223,7 +4351,17 @@
</Parameters>
<Docs>
<param name="address">To be added.</param>
<summary>To be added.</summary>
<summary>VPMOVZXDQ ymm, m128</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

The native signature does not exist. We provide this additional overload for completeness.

]]></format>
</remarks>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand Down
Loading