Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

wzssyqa (YunQiang Su)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 16 2018, 3:18 AM (266 w, 1 d)

Recent Activity

Thu, Aug 31

wzssyqa added a comment to D157896: Clang: Define macro _MIPS_SPFPSET.

Looks fine to me, though I’ve never seen code using this macro. For a single (not yet implemented) consumer I’m not certain it’s worth putting in the compiler since the same place in the build system that adds the flag directing code generation can also add a -D flag.

Thu, Aug 31, 1:00 AM · Restricted Project

Fri, Aug 25

wzssyqa updated the diff for D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Fri, Aug 25, 12:48 AM · Restricted Project
wzssyqa updated the diff for D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Fri, Aug 25, 12:45 AM · Restricted Project
wzssyqa added inline comments to D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Fri, Aug 25, 12:41 AM · Restricted Project

Thu, Aug 24

wzssyqa updated the diff for D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Thu, Aug 24, 11:47 PM · Restricted Project
wzssyqa updated the summary of D158268: [Sanitizer] Add MIPS vfork interception.
Thu, Aug 24, 11:45 PM · Restricted Project
wzssyqa updated the diff for D158268: [Sanitizer] Add MIPS vfork interception.
Thu, Aug 24, 11:45 PM · Restricted Project
wzssyqa added inline comments to D158268: [Sanitizer] Add MIPS vfork interception.
Thu, Aug 24, 11:34 PM · Restricted Project

Wed, Aug 23

wzssyqa added a comment to D158589: [MIPS] Add handing of forbidden slot when IR with inline asm.

With the exception of 5, these all sound like garbage inline asm input? If you have a dangling delay slot at the end of the inline assembly, that's your problem, not the compiler's. And don't we default to reorder, anyway, so the only way to write that is to first .set noreorder?

Wed, Aug 23, 11:46 PM · Restricted Project, Restricted Project
wzssyqa retitled D158509: Clang: GCCInstallationDetector follows --target value first from Clang: GCCInstallationDetector follows -target value first to Clang: GCCInstallationDetector follows --target value first.
Wed, Aug 23, 7:31 PM · Restricted Project
wzssyqa added a comment to D158509: Clang: GCCInstallationDetector follows --target value first.

Thank you for the patch. I think it would actually be nice that we probe the m32 multilib of x86_64-unknown-linux-gnu multilib first for --target=x86_64-unknown-linux-gnu -m32.

Unfortunately, due to various setArch code in computeTargetTriple (e.g. D54214), this change may change what lib they use.

Wed, Aug 23, 7:27 PM · Restricted Project

Aug 23 2023

wzssyqa updated the summary of D158509: Clang: GCCInstallationDetector follows --target value first.
Aug 23 2023, 7:58 AM · Restricted Project
wzssyqa updated the diff for D158509: Clang: GCCInstallationDetector follows --target value first.
Aug 23 2023, 7:56 AM · Restricted Project
wzssyqa updated the diff for D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Aug 23 2023, 3:52 AM · Restricted Project
wzssyqa added reviewers for D158589: [MIPS] Add handing of forbidden slot when IR with inline asm: brad, jrtc27, wzssyqa, MaskRay.
Aug 23 2023, 1:31 AM · Restricted Project, Restricted Project
wzssyqa updated subscribers of D158589: [MIPS] Add handing of forbidden slot when IR with inline asm.
Aug 23 2023, 1:26 AM · Restricted Project, Restricted Project

Aug 22 2023

wzssyqa updated the diff for D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Aug 22 2023, 11:28 PM · Restricted Project
wzssyqa added a comment to D158491: Sanitizer/MIPS: fix build fail on pre-R6.

This large pile of mips code makes me nervous. What I really want is to eliminate code related to some older mips ports.
For example, just claim that defined(__mips__) && __mips_isa_rev < 6 is not supported for sanitizers.

Aug 22 2023, 11:24 PM · Restricted Project
wzssyqa updated the diff for D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Aug 22 2023, 11:13 PM · Restricted Project
wzssyqa added a comment to D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.

If https://reviews.llvm.org/D158509 is OK, this patch won't be needed.
In fact, we can remove MIPS*LTriples[], I guess.

Aug 22 2023, 6:30 AM · Restricted Project
wzssyqa updated the diff for D158184: Clang/MIPS: computeTargetTriple considering -march option.
Aug 22 2023, 6:24 AM · Restricted Project
wzssyqa added a comment to D158509: Clang: GCCInstallationDetector follows --target value first.

I think that this is a step forward to drop *MIPSELTriples[].

Aug 22 2023, 6:13 AM · Restricted Project
wzssyqa requested review of D158509: Clang: GCCInstallationDetector follows --target value first.
Aug 22 2023, 6:11 AM · Restricted Project
wzssyqa added a comment to D158268: [Sanitizer] Add MIPS vfork interception.

This patch depends on https://reviews.llvm.org/D158491.

Aug 22 2023, 12:55 AM · Restricted Project
wzssyqa updated the diff for D158268: [Sanitizer] Add MIPS vfork interception.
Aug 22 2023, 12:53 AM · Restricted Project
wzssyqa requested review of D158491: Sanitizer/MIPS: fix build fail on pre-R6.
Aug 22 2023, 12:35 AM · Restricted Project

Aug 20 2023

wzssyqa added a comment to D157900: Compiler-rt: Fix MIPS CMake variables set.

@MaskRay ping

Aug 20 2023, 7:45 PM · Restricted Project, Restricted Project

Aug 18 2023

wzssyqa updated the diff for D158268: [Sanitizer] Add MIPS vfork interception.
Aug 18 2023, 5:14 AM · Restricted Project
wzssyqa requested review of D158268: [Sanitizer] Add MIPS vfork interception.
Aug 18 2023, 5:13 AM · Restricted Project
wzssyqa added a comment to D157896: Clang: Define macro _MIPS_SPFPSET.

In GCC, -mno-odd-spreg -modd-spreg affects code generation. If we don't implement the behavior, I am not sure we can define _MIPS_SPFPSET.

Actually, do we really want to define the macro? CodeSearch context:global _MIPS_SPFPSET -f:gcc|sysdeps/ (regex) gives no result.

Aug 18 2023, 4:13 AM · Restricted Project
wzssyqa added a comment to D156283: MIPS: unwind, don't save/restore hi/lo for R6.

I think that @wzssyqa's analysis is correct - the extra space is fine to keep in the buffer.

Aug 18 2023, 3:55 AM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the summary of D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.
Aug 18 2023, 3:52 AM · Restricted Project, Restricted Project
wzssyqa updated the diff for D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.
Aug 18 2023, 3:52 AM · Restricted Project, Restricted Project

Aug 17 2023

wzssyqa updated subscribers of D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.

@anton-afanasyev in clang/test/Driver/riscv64-toolchain.c,
the separator of path, some use just /, and some others use {{/|\\\\}}.
Do you know about why?

Aug 17 2023, 9:07 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.

Errr, the risc-v test case is wrong...

Aug 17 2023, 8:27 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.

I have no idea. As the the whole system, including the file name of gcc/binutils commands, is using the non-vendor triples.
Anyway, add a symlink won't be a very difficult problem. I can request it.

Thanks.

Aug 17 2023, 8:05 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.

This change adds more code for Debian and its derivatives. I think this patch should justify itself by removing some complexity, e.g. removing some elements from *Triple* arrays.

Aug 17 2023, 4:18 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.

*Triples* arrays are used much more than it designed to.

Aug 17 2023, 9:54 AM · Restricted Project, Restricted Project
wzssyqa updated the diff for D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.
Aug 17 2023, 9:34 AM · Restricted Project
wzssyqa added a comment to D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.

If this helps removing elements from *Triples* arrays, I will be in favor.

Aug 17 2023, 9:32 AM · Restricted Project
wzssyqa requested review of D158184: Clang/MIPS: computeTargetTriple considering -march option.
Aug 17 2023, 7:25 AM · Restricted Project
wzssyqa requested review of D158183: Clang/Gnu: Scan GCC with triple without vendor if vendor is unknown.
Aug 17 2023, 7:11 AM · Restricted Project, Restricted Project
wzssyqa added a comment to D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.

AArch64Triples[] should not contain aarch64-linux-gnu. Unfortunately, Debian patches GCC so that their GCC packages are installed to lib/gcc{,-cross}/aarch64-linux-gnu instead of lib/gcc{,-cross}/aarch64-{pc,unknown}-linux-gnu, so AArch64Triples[] has to contain aarch64-linux-gnu to support LLVM_DEFAULT_TARGET_TRIPLE (always normalized with "vendor") aarch64-unknown-linux-gnu.

Aug 17 2023, 12:22 AM · Restricted Project
wzssyqa added a comment to D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.

See the commend I added in a07727199db0525e9d2df41e466a2a1611b3c8e1. " Please don't add more elements to *Triples".

These variables are workarounds so that, for example, --target=aarch64-unknown-linux-gnu can detect a aarch64-linux-gnu GCC installation (Debian target triples omit "vendor").

Aug 17 2023, 12:09 AM · Restricted Project

Aug 16 2023

wzssyqa added a comment to D57677: [mips][micromips] Fix values in .gcc_except_table for -fPIC.

Yes. microMIPS support needs lots of work.

Aug 16 2023, 9:05 PM · Restricted Project, Restricted Project
wzssyqa updated the diff for D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.

Swap MIPSTriples_legacy and MIPSTriples_r6.

Aug 16 2023, 7:13 PM · Restricted Project
wzssyqa added a comment to D156283: MIPS: unwind, don't save/restore hi/lo for R6.

wzssyqa removed a reviewer: libunwind.

Some projects like libc++/libc++abi/libunwind add a default reviewer group. This ensures #libunwind people know changes going into libunwind. They may not comment, but they can do so when a change increasing maintenance burden catches their eye.

I added libunwind group back.
It was "blocking libunwind" previous. I have no idea what it means?

Someone in the #libunwind needs to click Accept as libunwind to make the differential green, otherwise it is in the Needs Review state even if there is an approval.

Aug 16 2023, 6:21 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa requested review of D158100: Clang/MIPS: Use correct cross env if both r6 and legacy are installed.
Aug 16 2023, 10:33 AM · Restricted Project
wzssyqa added a comment to D157900: Compiler-rt: Fix MIPS CMake variables set.
Aug 16 2023, 2:46 AM · Restricted Project, Restricted Project
wzssyqa updated the diff for D157900: Compiler-rt: Fix MIPS CMake variables set.
Aug 16 2023, 2:46 AM · Restricted Project, Restricted Project
wzssyqa abandoned D157897: MLIR: use -mxgot for MIPS.

I cannot reproduce it now ...
Abandon it.
When I can reproduce it, I will reopen it.

Aug 16 2023, 2:41 AM · Restricted Project, Restricted Project

Aug 15 2023

wzssyqa added a comment to D156283: MIPS: unwind, don't save/restore hi/lo for R6.

wzssyqa removed a reviewer: libunwind.

Some projects like libc++/libc++abi/libunwind add a default reviewer group. This ensures #libunwind people know changes going into libunwind. They may not comment, but they can do so when a change increasing maintenance burden catches their eye.

Aug 15 2023, 6:01 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa added a reviewer for D156283: MIPS: unwind, don't save/restore hi/lo for R6: Restricted Project.
Aug 15 2023, 6:00 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the summary of D156283: MIPS: unwind, don't save/restore hi/lo for R6.
Aug 15 2023, 1:00 AM · Restricted Project, Restricted Project, Restricted Project
wzssyqa abandoned D83778: MIPS: add build time option to disable madd.fmt.

The downstream distribution can disable it by patch.

Aug 15 2023, 12:56 AM · Restricted Project, Restricted Project
wzssyqa abandoned D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I.
Aug 15 2023, 12:55 AM · Restricted Project, Restricted Project

Aug 14 2023

wzssyqa added reviewers for D157900: Compiler-rt: Fix MIPS CMake variables set: brad, jrtc27, MaskRay.
Aug 14 2023, 9:58 AM · Restricted Project, Restricted Project
wzssyqa requested review of D157900: Compiler-rt: Fix MIPS CMake variables set.
Aug 14 2023, 9:58 AM · Restricted Project, Restricted Project
wzssyqa added reviewers for D157897: MLIR: use -mxgot for MIPS: brad, jrtc27, MaskRay.
Aug 14 2023, 9:41 AM · Restricted Project, Restricted Project
wzssyqa requested review of D157897: MLIR: use -mxgot for MIPS.
Aug 14 2023, 9:40 AM · Restricted Project, Restricted Project
wzssyqa requested review of D157896: Clang: Define macro _MIPS_SPFPSET.
Aug 14 2023, 9:21 AM · Restricted Project
wzssyqa removed a reviewer for D156283: MIPS: unwind, don't save/restore hi/lo for R6: Restricted Project.
Aug 14 2023, 3:02 AM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the summary of D156283: MIPS: unwind, don't save/restore hi/lo for R6.
Aug 14 2023, 3:02 AM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the diff for D156283: MIPS: unwind, don't save/restore hi/lo for R6.
Aug 14 2023, 3:01 AM · Restricted Project, Restricted Project, Restricted Project
wzssyqa added a comment to D156283: MIPS: unwind, don't save/restore hi/lo for R6.

Should space for them still exist in Registers_mips_o32/newabi, UNW_MIPS_HI/LO still be defined and the various things in __libunwind_config.h still account for them?

Aug 14 2023, 2:53 AM · Restricted Project, Restricted Project, Restricted Project

Jul 25 2023

wzssyqa added a comment to D156283: MIPS: unwind, don't save/restore hi/lo for R6.

Should space for them still exist in Registers_mips_o32/newabi, UNW_MIPS_HI/LO still be defined and the various things in __libunwind_config.h still account for them?

Jul 25 2023, 7:25 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa edited reviewers for D156283: MIPS: unwind, don't save/restore hi/lo for R6, added: brad, jrtc27, MaskRay; removed: Restricted Project.
Jul 25 2023, 6:43 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa requested review of D156283: MIPS: unwind, don't save/restore hi/lo for R6.
Jul 25 2023, 6:42 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa added a reviewer for D156072: MIPS: clear_cache, use _flush_cache instead of cacheflush: MaskRay.
Jul 25 2023, 6:40 PM · Restricted Project, Restricted Project

Jul 24 2023

wzssyqa added a comment to D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I.

How can I close this differential?

By closing, do you mean abandoning? I hope that @brad and @jrtc27 can make a suggestion.

Jul 24 2023, 10:23 PM · Restricted Project, Restricted Project

Jul 23 2023

wzssyqa requested review of D156072: MIPS: clear_cache, use _flush_cache instead of cacheflush.
Jul 23 2023, 9:42 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I.

How can I close this differential?

Jul 23 2023, 9:36 PM · Restricted Project, Restricted Project

Jul 22 2023

wzssyqa added a comment to D135565: MIPS/compiler_rt: use synci to flush icache on r6.

Thank you for your patch.

Jul 22 2023, 8:13 PM · Restricted Project, Restricted Project

Jul 15 2023

wzssyqa added a comment to D141189: [Mips] Set setMaxAtomicSizeInBitsSupported.

Sorry. It is my fault. With some dig, I know that some microarchitectures may split one ldc1/sdc1 to 2 micro-ops.
Thus we cannot be sure that it is atomic.

Jul 15 2023, 3:03 AM · Restricted Project, Restricted Project
wzssyqa added a comment to D141189: [Mips] Set setMaxAtomicSizeInBitsSupported.
Jul 15 2023, 2:07 AM · Restricted Project, Restricted Project

Jul 14 2023

wzssyqa added a comment to D141189: [Mips] Set setMaxAtomicSizeInBitsSupported.
Jul 14 2023, 9:51 PM · Restricted Project, Restricted Project

Jul 9 2023

wzssyqa updated the diff for D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I.
Jul 9 2023, 10:20 PM · Restricted Project, Restricted Project
wzssyqa retitled D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I from MIPS: setMaxAtomicSizeInBitsSupported to 0 for MIPS I to MIPS: setMaxAtomicSizeInBitsSupported to 0 for MIPS 32.
Jul 9 2023, 10:10 PM · Restricted Project, Restricted Project

Jul 6 2023

wzssyqa added a comment to D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I.

It is from the version of brad: https://reviews.llvm.org/D141189

Jul 6 2023, 3:02 AM · Restricted Project, Restricted Project
wzssyqa added a reviewer for D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I: brad.
Jul 6 2023, 3:01 AM · Restricted Project, Restricted Project
wzssyqa added a reviewer for D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I: MaskRay.
Jul 6 2023, 3:01 AM · Restricted Project, Restricted Project
wzssyqa requested review of D154589: MIPS: setMaxAtomicSizeInBitsSupported to 32 for MIPS I.
Jul 6 2023, 3:00 AM · Restricted Project, Restricted Project

Jul 3 2023

wzssyqa added a comment to D141189: [Mips] Set setMaxAtomicSizeInBitsSupported.

To work with MIPS1, I guess

Jul 3 2023, 7:19 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D141189: [Mips] Set setMaxAtomicSizeInBitsSupported.

In fact, here we have more than 1 problems:

Jul 3 2023, 6:46 PM · Restricted Project, Restricted Project
wzssyqa added a comment to D141189: [Mips] Set setMaxAtomicSizeInBitsSupported.

In fact, I don't think that it is a good idea to support MIPS I with degrading the performance of MIPS2+.

Jul 3 2023, 6:38 PM · Restricted Project, Restricted Project

May 24 2023

wzssyqa updated subscribers of D151288: [MIPS] Check if register is non-null before calling isSuperOrSubRegisterEq (NFCI).

I agree with this patch, while I have no approval permission.

May 24 2023, 1:38 AM · Restricted Project, Restricted Project
wzssyqa added a comment to D151288: [MIPS] Check if register is non-null before calling isSuperOrSubRegisterEq (NFCI).

I noticed there are some lines like:

May 24 2023, 1:21 AM · Restricted Project, Restricted Project

May 16 2023

wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

Is this the new GCC behavior?

May 16 2023, 3:23 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the summary of D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.
May 16 2023, 3:15 PM · Restricted Project, Restricted Project, Restricted Project

May 15 2023

wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

ping...

May 15 2023, 11:25 PM · Restricted Project, Restricted Project, Restricted Project

May 3 2023

wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

@MaskRay ping?

May 3 2023, 6:27 PM · Restricted Project, Restricted Project, Restricted Project

Apr 28 2023

wzssyqa updated the diff for D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.
Apr 28 2023, 6:48 AM · Restricted Project, Restricted Project, Restricted Project

Apr 25 2023

wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

@MaskRay can you help to submit this patch?

Apr 25 2023, 1:31 AM · Restricted Project, Restricted Project, Restricted Project

Apr 23 2023

wzssyqa updated the diff for D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.
Apr 23 2023, 11:07 PM · Restricted Project, Restricted Project, Restricted Project

Apr 18 2023

wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

ping...

Apr 18 2023, 7:05 PM · Restricted Project, Restricted Project, Restricted Project

Apr 2 2023

wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

ping

Apr 2 2023, 8:55 PM · Restricted Project, Restricted Project, Restricted Project

Mar 20 2023

wzssyqa updated the diff for D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.
Mar 20 2023, 8:45 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the diff for D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.
Mar 20 2023, 6:41 PM · Restricted Project, Restricted Project, Restricted Project
wzssyqa added a comment to D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.

Tests?

Mar 20 2023, 12:59 AM · Restricted Project, Restricted Project, Restricted Project
wzssyqa updated the diff for D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple.
Mar 20 2023, 12:50 AM · Restricted Project, Restricted Project, Restricted Project