search for: loongson

Displaying 20 results from an estimated 68 matches for "loongson".

2018 Aug 08
2
GCC 5 and -Wstrict-aliasing in JSON.h
Hello, For the IWYU project, we have a buildbot on Ubuntu 16.04 and its bundled GCC (which I think is some GCC 5 variant). We're getting a number of -Wstrict-aliasing warnings from JSON.h on this line: https://github.com/llvm-mirror/llvm/blob/master/include/llvm/Support/JSON.h#L455 I'm not sure if GCC has a point here but GCC 7.2 does not complain, so I'm going to guess no. Would
2018 Sep 06
2
How to add Loongson ISA for Mips target?
- my old email address. The ISA_* classes might not be the best choice for this. There's an overall hierarchy and ordering to the ISA_* classes since they represent the generations of the MIPS ISA. If these extensions are available in Loongson chips based on MIPS32r1 and MIPS32r2 for example, it becomes difficult to describe with ISA_* classes without duplicating instruction definitions or setting up complicated subsets (like we had to for MIPS32r6 to deal with the instruction removals). I would recommend the ASE_* classes which are int...
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...
2010 Jul 07
2
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
Hi all, I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now? Thanks. Here is my configure options: $export TARGET=mips64el-unknown-linux-gnu $../../src/llvm-gcc-4.2-2.7.source/configure --targ...
2023 Sep 04
15
[RFC, drm-misc-next v4 0/9] PCI/VGA: Allowing the user to select the primary video adapter at boot time
From: Sui Jingfeng <suijingfeng at loongson.cn> On a machine with multiple GPUs, a Linux user has no control over which one is primary at boot time. This series tries to solve above mentioned problem by introduced the ->be_primary() function stub. The specific device drivers can provide an implementation to hook up with this stub by c...
2010 Jul 07
0
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
On Jul 7, 2010, at 12:22 AM, 吴伟 wrote: > Hi all, > I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now? I don't think that LLVM supports mips64 yet... Bruno? -Chris > Thanks. > > Here is my configure options: > $expo...
2023 Aug 25
7
[PATCH 0/5] Add the pci_get_base_class() helper and use it
From: Sui Jingfeng <suijingfeng at loongson.cn> There is no function that can be used to get all PCI(e) devices in a system by matching against its the PCI base class code only, while keep the sub-class code and the programming interface ignored. Therefore, add the pci_get_base_class() function to suit the need. For example, if an appli...
2019 Aug 11
2
[fdo] is Linux/mips needed maintainer?
...I want to do some work to be a maintainer, what can I do ? someone can help me? thank you. -- 本邮件及其附件含有龙芯中科技术有限公司的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。 This email and its attachments contain confidential information from Loongson Technology Corporation Limited, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipi...
2018 May 11
4
LLVM Social - Beijing: May 19th, 2018
Hi, The first (maybe) LLVM social in Beijing will happen on May 19th, 2018. Everyone interested in LLVM related projects is invited to join. Event details is at https://github.com/hellollvm/website/blob/master/README.md Presentations are welcome :-) Looking forward to meet you ! -- Best wishes, Wei Wu (吴伟)
2018 May 29
2
LLVM Social - Beijing: May 19th, 2018
...ground! > > -Chris > > >> On May 28, 2018, at 9:42 PM, Leslie Zhai <lesliezhai at llvm.org.cn> wrote: >> >> Hi LLVM developers, >> >> My sincere thanks will goto Wu Wei for his great organization! >> >> I shared a topic " to introduce Loongson's contribution to LLVM and GCC toolchain. >> >> Slide: https://www.leetcode.cn/2018/05/loongson-llvm.pdf >> >> Photo: https://pbs.twimg.com/media/DeVnul3U0AAaoG4.jpg >> >> >> 在 2018年05月15日 09:19, Leslie Zhai 写道: >>> Hi Wei, >>> >&gt...
2018 May 29
2
LLVM Social - Beijing: May 19th, 2018
...ay 28, 2018, at 9:42 PM, Leslie Zhai <lesliezhai at llvm.org.cn> wrote: >>>> >>>> Hi LLVM developers, >>>> >>>> My sincere thanks will goto Wu Wei for his great organization! >>>> >>>> I shared a topic " to introduce Loongson's contribution to LLVM and GCC toolchain. >>>> >>>> Slide: https://www.leetcode.cn/2018/05/loongson-llvm.pdf >>>> >>>> Photo: https://pbs.twimg.com/media/DeVnul3U0AAaoG4.jpg >>>> >>>> >>>>> 在 2018年05月15日 09:1...
2018 Jul 19
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi HotSpot and LLVM developers, I am building OpenJDK8[1] with LLVM toolchain[2] for mips64el, it failed to build: /home/loongson/jdk8-mips/hotspot/src/share/vm/opto/lcm.cpp:52:35: error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int') if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops. ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ Just like...
2018 May 29
0
LLVM Social - Beijing: May 19th, 2018
...great, thank you for getting this off the ground! -Chris > On May 28, 2018, at 9:42 PM, Leslie Zhai <lesliezhai at llvm.org.cn> wrote: > > Hi LLVM developers, > > My sincere thanks will goto Wu Wei for his great organization! > > I shared a topic " to introduce Loongson's contribution to LLVM and GCC toolchain. > > Slide: https://www.leetcode.cn/2018/05/loongson-llvm.pdf > > Photo: https://pbs.twimg.com/media/DeVnul3U0AAaoG4.jpg > > > 在 2018年05月15日 09:19, Leslie Zhai 写道: >> Hi Wei, >> >> > The first (maybe) LLVM s...
2018 May 29
0
LLVM Social - Beijing: May 19th, 2018
...t; >>> On May 28, 2018, at 9:42 PM, Leslie Zhai <lesliezhai at llvm.org.cn> wrote: >>> >>> Hi LLVM developers, >>> >>> My sincere thanks will goto Wu Wei for his great organization! >>> >>> I shared a topic " to introduce Loongson's contribution to LLVM and GCC toolchain. >>> >>> Slide: https://www.leetcode.cn/2018/05/loongson-llvm.pdf >>> >>> Photo: https://pbs.twimg.com/media/DeVnul3U0AAaoG4.jpg >>> >>> >>>> 在 2018年05月15日 09:19, Leslie Zhai 写道: >&...
2023 Aug 25
1
[PATCH 2/5] ALSA: hda/intel: Use pci_get_base_class() to reduce duplicated code
From: Sui Jingfeng <suijingfeng at loongson.cn> Should be no functional change Cc: Jaroslav Kysela <perex at perex.cz> Cc: Takashi Iwai <tiwai at suse.com> Cc: Fred Oh <fred.oh at linux.intel.com> Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com> Cc: Kai Vehmanen <kai.vehmanen at linux.intel.c...
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' as error. It...
2018 May 29
0
LLVM Social - Beijing: May 19th, 2018
...Leslie Zhai <lesliezhai at llvm.org.cn> wrote: >>>>> >>>>> Hi LLVM developers, >>>>> >>>>> My sincere thanks will goto Wu Wei for his great organization! >>>>> >>>>> I shared a topic " to introduce Loongson's contribution to LLVM and GCC toolchain. >>>>> >>>>> Slide: https://www.leetcode.cn/2018/05/loongson-llvm.pdf >>>>> >>>>> Photo: https://pbs.twimg.com/media/DeVnul3U0AAaoG4.jpg >>>>> >>>>> >>>&gt...
2023 Jun 08
6
[PATCH v3 0/4] PCI/VGA: introduce is_boot_device function callback to vga_client_register
From: Sui Jingfeng <suijingfeng at loongson.cn> Patch 1,2 and 3 do basic clean up to the vgaarb module. Patch 4 introduce is_boot_device function callback to vga_client_register Sui Jingfeng (4): PCI/VGA: tidy up the code and comment format PCI/VGA: Use unsigned type for the io_state variable PCI/VGA: only deal with VGA class devi...
2023 Jun 04
3
[PATCH v2 1/2] vgaarb: various coding style and comments fix
From: Sui Jingfeng <suijingfeng at loongson.cn> To keep consistent with vga_iostate_to_str() function, the third argument of vga_str_to_iostate() function should be 'unsigned int *'. Signed-off-by: Sui Jingfeng <suijingfeng at loongson.cn> --- drivers/pci/vgaarb.c | 29 +++++++++++++++-------------- include/linux/vgaarb...
2020 Apr 08
2
[PATCH 1/3] target/mips: Support variable page size
Traditionally, MIPS use 4KB page size, but Loongson prefer 16KB page size in system emulator. So, let's define TARGET_PAGE_BITS_VARY and TARGET_PAGE_BITS_MIN to support variable page size. Cc: Jiaxun Yang <jiaxun.yang at flygoat.com> Signed-off-by: Huacai Chen <chenhc at lemote.com> --- target/mips/cpu-param.h | 5 +++++ 1 file cha...