Skip to content

Commits

Permalink
aarch64-work
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Sep 5, 2013

  1. linux-user: Implement sendmmsg syscall

    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>
    agraf committed Sep 5, 2013
    Copy the full SHA
    3fb6695 View commit details
    Browse the repository at this point in the history
  2. aarch64: Fix UZP/ZIP/TRN

    This was overwriting the destination register in-place, which is
    wrong when it overlaps with one of the inputs.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    e0c9e80 View commit details
    Browse the repository at this point in the history
  3. aarch64: Fix 32bit TST

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    c263ae5 View commit details
    Browse the repository at this point in the history
  4. aarch64: Fix restarting syscalls

    The syscall number isn't in x0, but in x8, and the environment
    could have been changed by the very syscall.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    08af261 View commit details
    Browse the repository at this point in the history
  5. aarch64, signal: Support SA_RESTORER

    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    6f1a510 View commit details
    Browse the repository at this point in the history
  6. strace: Print thread id

    Print tid instead of pid, helps debugging with multiple threads.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    1884b6a View commit details
    Browse the repository at this point in the history
  7. Don't truncate paths to less than PATH_MAX

    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).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    540afad View commit details
    Browse the repository at this point in the history
  8. Fix getresuid, getresgid for !USE_UID16

    This was hardcoding 16bit writes to the target.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    60542d4 View commit details
    Browse the repository at this point in the history
  9. linux-user: support poll(0,0,...)

    andreas-schwab authored and agraf committed Sep 5, 2013
    Copy the full SHA
    1e421b3 View commit details
    Browse the repository at this point in the history
  10. linux-user: Don't use UID16 on arm64

    Signed-off-by: Andreas Schwab <schwab@suse.de>
    andreas-schwab authored and agraf committed Sep 5, 2013
    Copy the full SHA
    3f25235 View commit details
    Browse the repository at this point in the history
  11. linux-user: add support for timerfd syscalls

    Signed-off-by: Andreas Schwab <schwab@suse.de>
    andreas-schwab authored and agraf committed Sep 5, 2013
    Copy the full SHA
    1ceec5d View commit details
    Browse the repository at this point in the history
  12. linux-user: add support for signalfd/signalfd4 syscalls

    Signed-off-by: Andreas Schwab <schwab@suse.de>
    andreas-schwab authored and agraf committed Sep 5, 2013
    Copy the full SHA
    a7eff5c View commit details
    Browse the repository at this point in the history
  13. Implement MVN aka vector NOT

    But not the other two insn with this opcode (CNT and RBIT).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    d2b4943 View commit details
    Browse the repository at this point in the history
  14. Hack to emulate data watchpoints

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    c286548 View commit details
    Browse the repository at this point in the history
  15. Improve restarted syscalls

    This manually adds syscall restarting for ARM64, like it's done
    for ARM.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    ec9ec18 View commit details
    Browse the repository at this point in the history
  16. Fix FCVTAS and FCVTAU

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    4a87845 View commit details
    Browse the repository at this point in the history
  17. Fix decoding of floating<->fixed conversions

    The rmode field was shifted by one bit.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    addc9f1 View commit details
    Browse the repository at this point in the history
  18. Fix implementation of USHLL/SSHLL

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    2466c54 View commit details
    Browse the repository at this point in the history
  19. Implement TBL and TBX

    Only tested TBL (with python3 testsuite, test_codecs test).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    1a93671 View commit details
    Browse the repository at this point in the history
  20. Implement vector MUL/PMUL

    The AdvSIMD three-same page needs an overhaul, when we use the neon
    helpers we currently do too much work for no reason.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    04bc15a View commit details
    Browse the repository at this point in the history
  21. Fix CPU unpinning

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    6437d60 View commit details
    Browse the repository at this point in the history
  22. Fix using uninitialized value

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    e8fb8fb View commit details
    Browse the repository at this point in the history
  23. Remove cpu-pinning on fork

    Childs have just one thread, so no need to pin them.  Normally
    the affinity is inherited by childs, even over execve.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    742f73e View commit details
    Browse the repository at this point in the history
  24. syscall: Fix typo

    Obviously we want to unlock what we locked, not something
    unrelated.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    ee2ed52 View commit details
    Browse the repository at this point in the history
  25. Implement vector SHL, QSHL, RSHL, QRSHL

    This and the unsigned variants.  The nonsaturating rounding
    helper in neon_helper (pre-existing) looks wrong, but for now
    don't bother.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    d1e4d40 View commit details
    Browse the repository at this point in the history
  26. Fix typo in FSUB detection

    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    9c4697c View commit details
    Browse the repository at this point in the history
  27. Implement ZIP, UZP, TRN

    This implements the shuffles in the AdvSIMD ZIP/UZP/TRN group.
    (Only ZIP1 tested in the libpng15 testsuite).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    9370ec3 View commit details
    Browse the repository at this point in the history
  28. Increase MAX_OP_PER_INSTR

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    0a3808c View commit details
    Browse the repository at this point in the history
  29. Fix USHLL, and implement other SIMD shifts

    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.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    63baef9 View commit details
    Browse the repository at this point in the history
  30. Fix INS element

    Accidentally this had a fallthrough to the switch remaining, leading
    to unknown insns.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    674abca View commit details
    Browse the repository at this point in the history
  31. Implement F_SETOWN_EX and F_GETOWN_EX for fcntl

    This is required by newer glibc when they assume new kernels
    (it maps F_GETOWN to F_GETOWN_EX and disables fallback code).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    5e922e3 View commit details
    Browse the repository at this point in the history
  32. Fix openat(fd, "") to return ENOENT

    Entries with null name don't exist, but the openat append a prefix
    mechanism made it look like they do (they openened the directory).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    f41d4c5 View commit details
    Browse the repository at this point in the history
  33. Add dup3 for stracing

    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    bfd6d2f View commit details
    Browse the repository at this point in the history
  34. Fix fcmp(e) with NaNs

    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).
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    51fe41a View commit details
    Browse the repository at this point in the history
  35. softfloat: Fix float64_to_uint64

    Values larger than MAX_INT, but below MAX_UINT need to be handled
    different.
    susematz authored and agraf committed Sep 5, 2013
    Copy the full SHA
    f8c4db4 View commit details
    Browse the repository at this point in the history
Older