diff --git a/libgloss/kvx-elf/include/kvx/asm_context.h b/libgloss/kvx-elf/include/kvx/asm_context.h index ee69415aecb98..8915406d8b0fc 100644 --- a/libgloss/kvx-elf/include/kvx/asm_context.h +++ b/libgloss/kvx-elf/include/kvx/asm_context.h @@ -168,7 +168,7 @@ lq.u $r6r7 = __KVX_CONTEXT_SPS_CS[\from] ## $sps - $cs ;; set $spc = $r2 - xord $r33 = $r6, $r33 # generate a mask of ones with a '1' at each bit where the current $sps ($r33) differs from the $sps ($r6) to be restored + eord $r33 = $r6, $r33 # generate a mask of ones with a '1' at each bit where the current $sps ($r33) differs from the $sps ($r6) to be restored notd $r34 = $r6 # prepare WFXL clear mask on LSBs slld $r35 = $r6, 32 # prepare WFXL set mask on MSBs ld.u $r8 = __KVX_CONTEXT_LC[\from] ## $lc diff --git a/newlib/libc/machine/kvx/memcmp.S b/newlib/libc/machine/kvx/memcmp.S index 362cd6f63d02a..0e6647bd46f12 100644 --- a/newlib/libc/machine/kvx/memcmp.S +++ b/newlib/libc/machine/kvx/memcmp.S @@ -484,7 +484,7 @@ memcmp: ret ;; .Lstreaming_kernel_exit: - xord $r0 = $r4, $r5 + eord $r0 = $r4, $r5 lq.dnez $r6? $r14r15 = 0[$r12] ;; ctzd $r0 = $r0