• Qi Hu's avatar
    LoongArch: Remove obsolete mentions of vcsr · 11238099
    Qi Hu authored
    The `vcsr` only exists in the old hardware design, it isn't used in any
    shipped hardware from Loongson-3A5000 on. Both scalar FP and LSX/LASX
    instructions use the `fcsr` as their control and status registers now.
    For example, the RM control bit in fcsr0 is shared by FP, LSX and LASX
    instructions.
    
    Particularly, fcsr16 to fcsr31 are reserved for LSX/LASX now, access to
    these registers has no visible effect if LSX/LASX is enabled, and will
    cause SXD/ASXD exceptions if LSX/LASX is not enabled.
    
    So, mentions of vcsr are obsolete in the first place (it was just used
    for debugging), let's remove them.
    Reviewed-by: default avatarWANG Xuerui <git@xen0n.name>
    Signed-off-by: default avatarQi Hu <huqi@loongson.cn>
    Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
    11238099
fpu.S 6.62 KB