首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏刘旷专栏

    ARM加速更迭,国产替代迎新战机

    随着众多厂商的入局以及ARM技术优势的显现,ARM架构在数据中心服务器市场的渗透率正在逐年提升,基于此业内甚至不时发出ARM时代到来的感叹。 ARM架构加速渗透根据TrendForce数据预测,随着云数据中心采用推动的逐渐增长,预计到2025年,ARM架构在数据中心服务器市场渗透率将达到22%。 这个数据意味着基于ARM架构的服务器,将在未来3年实现翻倍增长,这也意味着ARM将带来不可逆的行业变化。 ARM服务器崭露头角其实,ARM早就对服务器芯片市场“垂涎已久”,怎奈ARM在整个市场的发展并不如意,其也曾经几度在服务器市场折戟。 不难预见在技术革新加速的今天,依托国内规模庞大的物联网生态和信创软件生态,国内操作系统有望利用内外部机遇,寻找到破除“缺芯少魂”卡脖子困境的最优解。

    56920编辑于 2022-08-13
  • 来自专栏TencentOS-tiny

    ARM探索之旅03 | 如何使用 ARM FPU 加速浮点计算

    3. armcc测试结果 这节我们验证是否ARM使用 fplib 库来计算浮点数,在设置中关闭FPU: ? 使用MDK编译之后,进入调试模式查看反汇编结果。 三、使用 ARM FPU 加速浮点计算 1. 四、使用Julia测试FPU加速性能 1. 测试准备 需要准备一份裸机工程,具有屏幕打点显示功能和串口打印功能。 */ 3. [4] ARM Cortex-M3与M4权威指南

    4.8K20发布于 2021-07-01
  • 来自专栏python3

    ARM入门笔记(3

    3> C语言的代码 #i nclude "AT91SAM7S64.h"  //特殊功能寄存器头文件。 证明ARM芯片的内部外围与8位单片机内部外围的控制或使用方法在原理上基本是相同的,都是通过设置相关的特殊功能寄存器来实现控制。也就是说只要会单片机也就会ARM

    65110发布于 2020-01-09
  • 来自专栏技术杂记

    ARM(十一).ADC(3)

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    84620发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(八).RTC(3

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    1.6K80发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(三).UART with FIFO(3

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( *(volatile unsigned *)0x4b0000d4) //DMA 3 Status #define rDCSRC3 (*(volatile unsigned *)0x4b0000d8 ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination

    66550发布于 2021-09-14
  • 来自专栏电子技术研习社

    arm3)| 点亮led灯

    这里继续介绍arm裸机的编程,从点亮led灯开始,今天将会分别使用汇编和C语言来实现点亮led灯。 里面涉及到的一些arm基础知识可以参考前面的文章arm(1)| 基础知识arm(2)| 汇编指令和伪指令 在点灯之前,要了解IO的复用功能,在这里应该设置为普通的GPIO模式,另外还要设置引脚的属性, 从图上可以看出,将bit3~bit0配置为0101(二进制),就是gpio模式。 ? (3) 设置引脚属性。 1、编译: arm-none-eabi-gcc -g -c led.S -o led.o 2、链接: arm-none-eabi-ld -Ttext 0x80000000 led.o -o led.elf 3、格式转化: arm-none-eabi-objcopy -O binary -S -g led.elf led.bin 上一步链接生成的.elf 文件是带有地址信息的文件,不能放在存储器中执行,要使用格式转换命令转化为二进制文件

    2K21发布于 2020-07-17
  • 来自专栏技术杂记

    ARM(九).RTC and ALARM(3

    startup_head.s 作为头文件,定义了 ARM 板的初始设置 比如堆栈基址,FCLK:HCLK:PCLK 分频,USB 频率等参数 ;input frequency 12.00 MHz ;MPLL 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    1.3K60发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(十五).IIC with IRQ 3

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    1K110发布于 2021-08-12
  • 来自专栏技术杂记

    ARM(十).RTC and TICK(3

    startup_head.s 作为头文件,定义了 ARM 板的初始设置 比如堆栈基址,FCLK:HCLK:PCLK 分频,USB 频率等参数 ;input frequency 12.00 MHz ;MPLL 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    1.2K60发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(五).EINT and IRQ(3

    startup_head.s 作为头文件,定义了 ARM 板的初始设置 比如堆栈基址,FCLK:HCLK:PCLK 分频,USB 频率等参数 ;input frequency 12.00 MHz ;MPLL 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    50510发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(七).TIMER and PWM(3

    startup_head.s 作为头文件,定义了 ARM 板的初始设置 比如堆栈基址,FCLK:HCLK:PCLK 分频,USB 频率等参数 ;input frequency 12.00 MHz ;MPLL 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    1.3K70发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(十三).WatchDog3

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    1.1K40发布于 2021-08-13
  • 来自专栏技术杂记

    ARM(六).TIMER and IRQ(3

    startup_head.s 作为头文件,定义了 ARM 板的初始设置 比如堆栈基址,FCLK:HCLK:PCLK 分频,USB 频率等参数 ;input frequency 12.00 MHz ;MPLL 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    70050发布于 2021-09-14
  • 来自专栏技术杂记

    ARM(四).UART with no FIFO(3

    void UART0Init(void) //初始化UART0 { rGPHCON = (2<<6) | (2<<4); //配置为串口收发RXD[0],TXD[0] rGPHUP = (1<<3) buad_rate*16))-1, 这里波特率 9600 PCLK=101.25M ; 101.25M/(9600*16) - 1 = 658 rULCON0 = (0<<6) | (0<<3) | (0<<2) | (3<<0); //发送接收每帧的数据位数为8bit,每帧一个停止位,没有奇偶校验,正常模式操作(非红外模式),将0号通道的线性控制寄存器设定为(0000 0011) rUCON0 break; case '2': rGPBDAT |= 0x1e0; //(0001 1110 0000)如果数值为字符'2',就关闭所有灯 break; case '3' : rGPBDAT |= 0x01; //(0000 0000 0001)如果数值为字符'3',就打开beep break; case '4': rGPBDAT

    93950发布于 2021-09-14
  • 来自专栏云实例评测

    免费易用 ,腾讯Arm云实例评测 - AI推理加速

    腾讯CVM标准型SR1是腾讯云推出的首款搭载ARM架构处理器的新一代CVM标准型计算实例规格。 cd classification/resnet_50_v15export AIO_NUM_THREADS=16python3 run.py -m resnet_50_v15_tf_fp32.pb -p cd classification/resnet_50_v15export AIO_NUM_THREADS=16python3 run.py -m resnet_50_v15_tf_fp16.pb -p “resnet_50_v15”模型在3个平台上的性能表现如下表。 40%和50%;如果再考虑单个实例的价格差异,以相同的价格,SR1.4xLARGE32可以获得比同规格的S6和SA3高出70%和40%的性能。

    6.4K390编辑于 2022-06-23
  • 来自专栏技术杂记

    ARM(十四).WatchDog with IRQ3

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    73050发布于 2021-08-12
  • 来自专栏技术杂记

    ARM(十二).ADC with IRQ3

    (*(volatile unsigned *)0x4b0000c0) //DMA 3 Initial source #define rDISRCC3 (*(volatile unsigned *) 3 Initial Destination #define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc) //DMA 3 Initial Destination control #define rDCON3 (*(volatile unsigned *)0x4b0000d0) //DMA 3 Control #define rDSTAT3 ( ) //DMA 3 Current source #define rDCDST3 (*(volatile unsigned *)0x4b0000dc) //DMA 3 Current destination +3) #define URXH1 (0x50004024+3) #define UTXH2 (0x50008020+3) #define URXH2 (0x50008024

    80030发布于 2021-08-13
  • 来自专栏nginx遇上redis

    cgo sqlite3 arm交叉编译

    ,但执行时发现sqlite3库没有加载。 尝试用arm的gcc 在centos7中安装,yum install gcc-arm-linux-gnu 用CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 CC= arm-linux-gnu-gcc go build -ldflags "-w -s" -o arm-mygofile mygofile.go 交叉编译失败。 从 arm-linux-gnu-gcc -v 中看到 sysroot目录 /usr/arm-linux-gnu/sys-root/ 为空。 从 yum search 中,也没找到对应的包。 mygofile.go 编译成功(有错误警告,说sqlite3使用了glibc动态库)。

    2.5K40发布于 2021-07-23
  • 来自专栏采云轩

    ARM架构下部署StarRocks3

    二、X86 和 ARM 众所周知,当前 CPU 的主流系统架构分为 X86 架构和 ARM 架构。其中 X86 架构的所有权归属于 Intel 公司,而 ARM 架构则是开源的。 而开源的 ARM 架构在近年来尤为受到关注,面对当前日益复杂的国际环境以及基于 ARM 架构本身在功耗上的优异表现,国内外大量企业自研基于 ARM 架构的服务器芯片,越来越多的应用和软件配套也适配 ARM 针对当前情况以及实际的业务发展需求,我们评估决定使用官方提供的 Docker 镜像内的配置文件进行 ARM 架构下的部署。 在科技高速发展的当下,ARM 架构由于其开源性和功耗上的优异表现正在受到越来越多的关注,大数据相关的各种组件也纷纷推出了基于 ARM 架构的版本用于更好的支持用户体验。 由于 StarRocks3 并无官方的 ARM 版本,通过查询网上资料也并无详细完整的相关文档,所以本文也仅是利用 Docker 镜像最终实现的部署方案,从运行的结果来看符合预期。

    1.7K10编辑于 2023-11-30
领券