Bug#1040906: Re: Fwd: Bug#1040906: please add support for LoongArch CPU Loongson-3A5000-HV

2023-07-20 Thread zhangdandan

Hi,
  Thanks for your interest and reply.
>Do you by chance know which C-#ifdef protects code for this
>architecture? (E.g. on alpha this is __alpha__)
To define LoongArch target, you can use the __loongarch__.
If you want to use other C/C++ preprocessor macros related to the 
LoongArch architecture,

please visit LoongArch-toolchain-conventions Documentation [1].

[1]:https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html#_cc_preprocessor_built_in_macro_definitions 



thanks,
Dandan Zhang



Bug#1040906: please add support for LoongArch CPU Loongson-3A5000-HV

2023-07-18 Thread Helge Kreutzmann
Hello xiao,
On Wed, Jul 12, 2023 at 05:05:53PM +0800, xiao sheng wen wrote:
> Source: linuxinfo
> Severity: wishlist
> Tags: ftbfs upstream
> User: debian-de...@lists.debian.org
> Usertags: loongarch64
> X-Debbugs-Cc: zhangdan...@loongson.cn, atzli...@sina.com
> 
>Please add the new LoongArch[1] CPU support in linuxinfo.
> 
>The following is the /proc/cpuinfo of one LoongArch cpu type: 
> Loongson-3A5000-HV
> If you need other more infos about this CPU, please tell me and 
> zhangdan...@loongson.cn 

Thanks for your report.

Do you by chance know which C-#ifdef protects code for this
architecture? (E.g. on alpha this is __alpha__)

Greetings

  Helge

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Bug#1040906: please add support for LoongArch CPU Loongson-3A5000-HV

2023-07-12 Thread xiao sheng wen
Source: linuxinfo
Severity: wishlist
Tags: ftbfs upstream
User: debian-de...@lists.debian.org
Usertags: loongarch64
X-Debbugs-Cc: zhangdan...@loongson.cn, atzli...@sina.com

Hi,

   Please add the new LoongArch[1] CPU support in linuxinfo.

   The following is the /proc/cpuinfo of one LoongArch cpu type: 
Loongson-3A5000-HV
If you need other more infos about this CPU, please tell me and 
zhangdan...@loongson.cn 

Thanks!

[1] https://wiki.debian.org/Ports/loong64

system type : generic-loongson-machine

processor   : 0
package : 0
core: 0
global_id   : 0
CPU Family  : Loongson-64bit
Model Name  : Loongson-3A5000-HV
CPU Revision: 0x11
FPU Revision: 0x00
CPU MHz : 2500.00
BogoMIPS: 5000.00
TLB Entries : 2112
Address Sizes   : 48 bits physical, 48 bits virtual
ISA : loongarch32 loongarch64
Features: cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz 
lbt_x86 lbt_arm lbt_mips
Hardware Watchpoint : yes, iwatch count: 8, dwatch count: 8

processor   : 1
package : 0
core: 1
global_id   : 1
CPU Family  : Loongson-64bit
Model Name  : Loongson-3A5000-HV
CPU Revision: 0x11
FPU Revision: 0x00
CPU MHz : 2500.00
BogoMIPS: 5000.00
TLB Entries : 2112
Address Sizes   : 48 bits physical, 48 bits virtual
ISA : loongarch32 loongarch64
Features: cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz 
lbt_x86 lbt_arm lbt_mips
Hardware Watchpoint : yes, iwatch count: 8, dwatch count: 8

processor   : 2
package : 0
core: 2
global_id   : 2
CPU Family  : Loongson-64bit
Model Name  : Loongson-3A5000-HV
CPU Revision: 0x11
FPU Revision: 0x00
CPU MHz : 2500.00
BogoMIPS: 5000.00
TLB Entries : 2112
Address Sizes   : 48 bits physical, 48 bits virtual
ISA : loongarch32 loongarch64
Features: cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz 
lbt_x86 lbt_arm lbt_mips
Hardware Watchpoint : yes, iwatch count: 8, dwatch count: 8

processor   : 3
package : 0
core: 3
global_id   : 3
CPU Family  : Loongson-64bit
Model Name  : Loongson-3A5000-HV
CPU Revision: 0x11
FPU Revision: 0x00
CPU MHz : 2500.00
BogoMIPS: 5000.00
TLB Entries : 2112
Address Sizes   : 48 bits physical, 48 bits virtual
ISA : loongarch32 loongarch64
Features: cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz 
lbt_x86 lbt_arm lbt_mips
Hardware Watchpoint : yes, iwatch count: 8, dwatch count: 8



-- System Information:
Debian Release: 12.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable'), (1, 'experimental')
merged-usr: no
Architecture: loong64 (loongarch64)

Kernel: Linux 6.4.0-0-loong64 (SMP w/4 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled