Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HWIntrinsic failures for the RO tests when AVX disabled #10377

Closed
tannergooding opened this issue May 24, 2018 · 5 comments · Fixed by dotnet/coreclr#18120
Closed

HWIntrinsic failures for the RO tests when AVX disabled #10377

tannergooding opened this issue May 24, 2018 · 5 comments · Fixed by dotnet/coreclr#18120

Comments

@tannergooding
Copy link
Member

Several of the *_ro HWIntrinsic tests are failing with:

MESSAGE:
\r\nAssert failure(PID 3184 [0x00000c70], Thread: 6828 [0x1aac]): Assertion failed '(consume == 0) || (ComputeAvailableSrcCount(tree) == consume)' in 'JIT.HardwareIntrinsics.X86.SimpleBinaryOpTest__AddSingle:RunBasicScenario_LoadAligned():this' (IL size 100)\r\n\r\n File: d:\\j\\workspace\\x64_checked_w---c04c733a\\src\\jit\\lsrabuild.cpp Line: 1509\r\n Image: D:\\j\\workspace\\x64_checked_w---c04c733a\\bin\\tests\\Windows_NT.x64.Checked\\Tests\\Core_Root\\CoreRun.exe\r\n\r\n\n\nReturn code: 1\nRaw output file: D:\\j\\workspace\\x64_checked_w---c04c733a\\bin\\tests\\Windows_NT.x64.Checked\\Reports\\JIT.HardwareIntrinsics\\X86\\Sse\\Sse_ro\\Sse_ro.output.txt\nRaw output:\nBEGIN EXECUTION\r\n \"D:\\j\\workspace\\x64_checked_w---c04c733a\\tests\\..\\bin\\tests\\Windows_NT.x64.Checked\\Tests\\Core_Root\\corerun.exe\" Sse_ro.exe \r\nRunning Add.Single test...\r\nExpected: 100\r\nActual: 123456789\r\nEND EXECUTION - FAILED\r\nFAILED\r\nTest Harness Exitcode is : 1\r\n\nTo run the test:\n> set CORE_ROOT=D:\\j\\workspace\\x64_checked_w---c04c733a\\bin\\tests\\Windows_NT.x64.Checked\\Tests\\Core_Root\n> D:\\j\\workspace\\x64_checked_w---c04c733a\\bin\\tests\\Windows_NT.x64.Checked\\JIT\\HardwareIntrinsics\\X86\\Sse\\Sse_ro\\Sse_ro.cmd\n\r\nExpected: True\r\nActual: False
+++++++++++++++++++
STACK TRACE:
at JIT_HardwareIntrinsics._X86_Sse_Sse_ro_Sse_ro_._X86_Sse_Sse_ro_Sse_ro_cmd() in D:\j\workspace\x64_checked_w---c04c733a\bin\tests\Windows_NT.x64.Checked\TestWrappers\JIT.HardwareIntrinsics\JIT.HardwareIntrinsics.XUnitWrapper.cs:line 24187

Ex: https://ci.dot.net/job/dotnet_coreclr/job/master/job/jitstress/job/x64_checked_windows_nt_jitx86hwintrinsicnoavx_prtest/247/

See dotnet/coreclr#18105 for more jobs

@tannergooding
Copy link
Member Author

Looking at the commit jobs (ex: https://ci.dot.net/job/dotnet_coreclr/job/master/job/jitstress/job/x64_checked_windows_nt_jitx86hwintrinsicnoavx/131/), this looks to be caused by dotnet/coreclr#16517.

The only other change to the lsraxarch.cpp file so far is dotnet/coreclr#18078, but that wasn't committed as of the above failure.

@tannergooding
Copy link
Member Author

CC. @CarolEidt

@tannergooding
Copy link
Member Author

Also CC. @fiigii, @eerhardt as an FYI

@tannergooding
Copy link
Member Author

tannergooding commented May 24, 2018

@CarolEidt, I see the problem.

In BuildDelayFreeUses (any possibly some of the other new functions) it is always returning 0 for a contained node which isn't an Indir. However, certain HWIntrinsic nodes can be marked as contained and still need their operands counted (I believe we talked previously about turning these into actual Indir nodes, but that hasn't happened yet).

@tannergooding
Copy link
Member Author

PR resolving the issue is here: dotnet/coreclr#18120

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant