Displaying 8 results from an estimated 8 matches for "zhaixiang".
2018 Jul 04
2
Why SI.isSigned() is not equals to E->getType()->isSignedIntegerOrEnumerationType()?
...ang version 7.0.0
(git at github.com:Loong-Language/loong-clang.git
8f7e826f27abbe12ea08d9563490298c38d3adc1)
(git at github.com:Loong-Language/loong-llvm.git
a05924fba80aa7173fce66b86d35ac2c57ad4dc4) (based on LLVM 7.0.0svn)
Target: mips64el-redhat-linux
Thread model: posix
InstalledDir: /home/zhaixiang/project/Loong-Language/loong-llvm/build/bin
DEBUG: bool {anonymous}::IntExprEvaluator::Success(const llvm::APSInt&,
const clang::Expr*, clang::APValue&) 7096 0 0
DEBUG: bool {anonymous}::IntExprEvaluator::Success(const llvm::APSInt&,
const clang::Expr*, clang::APValue&) 7096 0 0
D...
2018 Sep 06
1
[RFR] JDK-8156980: Hotspot build doesn't have -std=gnu++98 gcc option
it's difficult to use llvm tools like sanitizers on openjdk sources,
because of the "cheating" - relying on undefined behavior, and the JIT.
On Wed, Sep 5, 2018 at 6:09 PM, Leslie Zhai <zhaixiang at loongson.cn> wrote:
> Hi Martin,
>
> Thanks for your response!
>
> I haven't tested compiling OpenJDK 12-dev with LLVM toolchain, perhaps the
> issue had been fixed already, because clang treat invalid argument
> '-std=gnu++98' not allowed with 'C' a...
2018 Sep 06
2
How to add Loongson ISA for Mips target?
...,
> bitconvert>, MFC1_FM<5>, ISA_MIPS3;
> ]]
>
> More general and complete guide can be found here:
> http://llvm.org/docs/WritingAnLLVMBackend.html <http://llvm.org/docs/WritingAnLLVMBackend.html>
>
> On Thu, Sep 6, 2018 at 1:01 PM Leslie Zhai <zhaixiang at loongson.cn <mailto:zhaixiang at loongson.cn>> wrote:
>>
>> Hi LLVM developers,
>>
>> GCC[1] is able to use Loongson ISA[2] for instruction selection:
>>
>> $ cat hello.c
>> #include <stdio.h>
>>
>> int main(int argc, char...
2018 Sep 06
2
[RFR] JDK-8156980: Hotspot build doesn't have -std=gnu++98 gcc option
Hi Martin,
Thanks for your response!
I haven't tested compiling OpenJDK 12-dev with LLVM toolchain, perhaps
the issue had been fixed already, because clang treat invalid argument
'-std=gnu++98' not allowed with 'C' as error. It is better only apply
EXTRA_CFLAGS to C without EXTRA_CXXFLAGS.
Furthermore, I just have interest, did you use clang analyzer, sanitizer
and
2018 Sep 06
3
How to add Loongson ISA for Mips target?
Hi LLVM developers,
GCC[1] is able to use Loongson ISA[2] for instruction selection:
$ cat hello.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
$ gcc -O0 -S hello.c
$ cat hello.s
.file 1 "hello.c"
.section .mdebug.abi64
.previous
.nan legacy
.gnu_attribute 4, 1
.abicalls
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...gt; the .ctors section, so the dynamic linker is made responsible for
> calling it.
>
> Note that now the EMPTY_STACK object is unnecessarily initialized twice,
> once by the global constructor, and once in main.
>
> -Dimitry
>
>> On 11 Sep 2018, at 03:38, Leslie Zhai <zhaixiang at loongson.cn> wrote:
>>
>> Hi Dimitry,
>>
>> Thanks for your kind response!
>>
>> Thanks for the commit message of Jung's patch, I found that the bug had been fixed in OpenJDK 12 by Zhengyu https://bugs.openjdk.java.net/browse/JDK-8205965 But only back...
2018 Sep 28
3
error: expected memory with 32-bit signed offset
Hi,
I want to encode Loongson ISA initially
https://gist.github.com/xiangzhai/8ae6966e2f02a94e180dd16ff1cd60ac
gslbx $2,0($3,$4)
It is equivalent to:
dadd $1, $3, $4
lb $2,0($1)
I just use mem_simmptr as the default value of DAGOperand MO ,
because MipsMemAsmOperand use parseMemOperand to parse general
MemOffset and only *one* AnyRegister , for example:
0($1)
But
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
Hi Dimitry,
Thanks for your kind response!
Thanks for the commit message of Jung's patch, I found that the bug had
been fixed in OpenJDK 12 by Zhengyu
https://bugs.openjdk.java.net/browse/JDK-8205965 But only backported to
11. So Jung could backport it for OpenJDK 8, thanks a lot!
But I argue that the root cause might be in the compiler side, why
clang-3.9.1, gcc-6.4.1 couldn't