Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 5, 2013
  1. @agraf

    linux-user: Implement sendmmsg syscall

    agraf authored
    Glibc when built for newer kernels assumes that the sendmmsg syscall is available.
    Without it, dns resolution simply fails to work.
    
    Wrap the syscall with existing infrastructure so that we don't have a host dependency
    on sendmmsg.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
  2. @susematz @agraf

    aarch64: Fix UZP/ZIP/TRN

    susematz authored agraf committed
    This was overwriting the destination register in-place, which is
    wrong when it overlaps with one of the inputs.
  3. @susematz @agraf

    aarch64: Fix 32bit TST

    susematz authored agraf committed
    A 32bit TST insn (aka ANDS) was using the 64bit form to
    set the flags, hence it was regarding bit 63 as sign bit,
    not bit 31.
  4. @susematz @agraf

    aarch64: Fix restarting syscalls

    susematz authored agraf committed
    The syscall number isn't in x0, but in x8, and the environment
    could have been changed by the very syscall.
  5. @susematz @agraf

    aarch64, signal: Support SA_RESTORER

    susematz authored agraf committed
  6. @susematz @agraf

    strace: Print thread id

    susematz authored agraf committed
    Print tid instead of pid, helps debugging with multiple threads.
  7. @susematz @agraf

    Don't truncate paths to less than PATH_MAX

    susematz authored agraf committed
    resolve_dirfd_path used a buffer of 1024 (< PATH_MAX) and readlink
    doesn't return errors when the buffer is too small (it silently
    truncates), so when the path was very long (> 1024) it got truncated
    and wrong files or error codes were returned.  Using PATH_MAX
    as buffer size readlink won't truncate (if the name is larger it will
    correctly return ENAMETOOLONG, and the callers will do the right thing).
  8. @susematz @agraf

    Fix getresuid, getresgid for !USE_UID16

    susematz authored agraf committed
    This was hardcoding 16bit writes to the target.
  9. @agraf

    linux-user: support poll(0,0,...)

    Andreas Schwab authored agraf committed
  10. @agraf

    linux-user: Don't use UID16 on arm64

    Andreas Schwab authored agraf committed
    Signed-off-by: Andreas Schwab <schwab@suse.de>
  11. @agraf

    linux-user: add support for timerfd syscalls

    Andreas Schwab authored agraf committed
    Signed-off-by: Andreas Schwab <schwab@suse.de>
  12. @agraf

    linux-user: add support for signalfd/signalfd4 syscalls

    Andreas Schwab authored agraf committed
    Signed-off-by: Andreas Schwab <schwab@suse.de>
  13. @susematz @agraf

    Implement MVN aka vector NOT

    susematz authored agraf committed
    But not the other two insn with this opcode (CNT and RBIT).
  14. @susematz @agraf

    Hack to emulate data watchpoints

    susematz authored agraf committed
    In user mode there are no data watchpoints, but I needed to
    desparately find all writes to a certain address, this is the
    result.  Could be extended to something really usable.
  15. @susematz @agraf

    Improve restarted syscalls

    susematz authored agraf committed
    This manually adds syscall restarting for ARM64, like it's done
    for ARM.
  16. @susematz @agraf

    Fix FCVTAS and FCVTAU

    susematz authored agraf committed
    These used the wrong direction (ItoF), so effectively just produced
    garbage.  We don't implement TIEAWAY rounding, and substitute this
    with TIEEVEN, so we still don't produce the correct value in all
    cases.  But it fixes the gamma functions in python3.
  17. @susematz @agraf

    Fix decoding of floating<->fixed conversions

    susematz authored agraf committed
    The rmode field was shifted by one bit.
  18. @susematz @agraf

    Fix implementation of USHLL/SSHLL

    susematz authored agraf committed
    These ones write larger values than they read, so care must be taken
    to not overwrite future inputs, when in and out register are the same.
  19. @susematz @agraf

    Implement TBL and TBX

    susematz authored agraf committed
    Only tested TBL (with python3 testsuite, test_codecs test).
  20. @susematz @agraf

    Implement vector MUL/PMUL

    susematz authored agraf committed
    The AdvSIMD three-same page needs an overhaul, when we use the neon
    helpers we currently do too much work for no reason.
  21. @susematz @agraf

    Fix CPU unpinning

    susematz authored agraf committed
    When there are bits set in the mask outside what the kernels
    size is glibc throws EINVAL despite the fact that there are
    also bits set below that border.  Manpage says EINVAL should
    only be given when there are _no_ possible bits set.  Well,
    too bad, deal with it, just remember the old cpu mask.
  22. @susematz @agraf

    Fix using uninitialized value

    susematz authored agraf committed
    TCG can't cope with uninitialized temps used as inputs, even when
    the whole sequence will overwrite the whole content.  It silentely
    overwrites registers that still hold useful values.  This fixes
    segfaults in python3-base testsuite.
  23. @susematz @agraf

    Remove cpu-pinning on fork

    susematz authored agraf committed
    Childs have just one thread, so no need to pin them.  Normally
    the affinity is inherited by childs, even over execve.
  24. @susematz @agraf

    syscall: Fix typo

    susematz authored agraf committed
    Obviously we want to unlock what we locked, not something
    unrelated.
  25. @susematz @agraf

    Implement vector SHL, QSHL, RSHL, QRSHL

    susematz authored agraf committed
    This and the unsigned variants.  The nonsaturating rounding
    helper in neon_helper (pre-existing) looks wrong, but for now
    don't bother.
  26. @susematz @agraf

    Fix typo in FSUB detection

    susematz authored agraf committed
  27. @susematz @agraf

    Implement ZIP, UZP, TRN

    susematz authored agraf committed
    This implements the shuffles in the AdvSIMD ZIP/UZP/TRN group.
    (Only ZIP1 tested in the libpng15 testsuite).
  28. @susematz @agraf

    Increase MAX_OP_PER_INSTR

    susematz authored agraf committed
    The aarch64 multiple loads/stores generate a heap of instructions.
    Add some ifdefed debug code, and increase the limit.  We should
    use a helper or devise smaller sequences, sould be possible with
    interleaving and just 64bit loads.
  29. @susematz @agraf

    Fix USHLL, and implement other SIMD shifts

    susematz authored agraf committed
    This fixes USHLL (I think the size was wrong), and implements all
    other "normal" shifts from page 0x0f (in particular the {U,}SHR*
    variants, accumulating and rounding.  It doesn't implement
    the narrow and saturating shifts, nor the fixed point conversions
    in that page.
  30. @susematz @agraf

    Fix INS element

    susematz authored agraf committed
    Accidentally this had a fallthrough to the switch remaining, leading
    to unknown insns.
  31. @susematz @agraf

    Implement F_SETOWN_EX and F_GETOWN_EX for fcntl

    susematz authored agraf committed
    This is required by newer glibc when they assume new kernels
    (it maps F_GETOWN to F_GETOWN_EX and disables fallback code).
  32. @susematz @agraf

    Fix openat(fd, "") to return ENOENT

    susematz authored agraf committed
    Entries with null name don't exist, but the openat append a prefix
    mechanism made it look like they do (they openened the directory).
  33. @susematz @agraf

    Add dup3 for stracing

    susematz authored agraf committed
  34. @susematz @agraf

    Fix fcmp(e) with NaNs

    susematz authored agraf committed
    The flags for comparing with NaNs ommitted the C flag (like
    also equality for normal numbers, but there it was more harmless,
    as usually the Z flag is tested).
  35. @susematz @agraf

    softfloat: Fix float64_to_uint64

    susematz authored agraf committed
    Values larger than MAX_INT, but below MAX_UINT need to be handled
    different.
Something went wrong with that request. Please try again.