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

clang-cl: expected unqualified-id when using ~15 in inline assembly #20576

Closed
ehsan opened this issue Jul 4, 2014 · 5 comments
Closed

clang-cl: expected unqualified-id when using ~15 in inline assembly #20576

ehsan opened this issue Jul 4, 2014 · 5 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@ehsan
Copy link
Contributor

ehsan commented Jul 4, 2014

Bugzilla Link 20202
Resolution FIXED
Resolved on Jul 07, 2014 19:14
Version trunk
OS All
CC @majnemer,@zmodem,@jrmuizel,@rnk,@rinon

Extended Description

$ cat test.cpp
void TransposeUVWx8_SSE2() {
__asm {
and esp, ~15
}
}

Ehsan Akhgari@WIN-LD01V6P651K /c/moz/src/obj/media/libyuv/libyuv_libyuv
$ clang-cl -c test.cpp
test.cpp(3,14) : error: expected unqualified-id
and esp, ~15
^
1 error generated.

@ehsan
Copy link
Contributor Author

ehsan commented Jul 4, 2014

assigned to @ehsan

@ehsan
Copy link
Contributor Author

ehsan commented Jul 4, 2014

I have a fix: http://reviews.llvm.org/D4391

@ehsan
Copy link
Contributor Author

ehsan commented Jul 4, 2014

Test case: http://reviews.llvm.org/D4392

@ehsan
Copy link
Contributor Author

ehsan commented Jul 4, 2014

Fixed in r212352.

@rnk
Copy link
Collaborator

rnk commented Jul 8, 2014

Thanks!

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

2 participants